multimedia/dvdauthor: Patched for x86_64.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2015-09-09 23:10:03 +07:00 committed by Willy Sudiarto Raharjo
parent a0d62c9377
commit fd59d463d3
2 changed files with 27 additions and 5 deletions

View file

@ -0,0 +1,19 @@
--- dvdvml.c.orig 2012-08-19 21:41:52.000000000 -0700
+++ dvdvml.c 2015-06-09 15:28:51.780584903 -0700
@@ -626,6 +626,7 @@
* USA
*/
+#include "config.h"
#include "compat.h" /* needed for bool */
#include "dvdvm.h"
#include "dvdvmy.h"
--- dvdvmy.c.orig 2012-08-19 21:41:52.000000000 -0700
+++ dvdvmy.c 2015-06-09 15:29:01.924584741 -0700
@@ -96,6 +96,7 @@
* USA
*/
+#include "config.h"
#include "compat.h" /* needed for bool */
#include "dvdvm.h"

View file

@ -29,7 +29,7 @@
PRGNAM=dvdauthor
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -72,7 +72,12 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
(
cd src
patch -p0 < $CWD/config.patch
)
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -88,9 +93,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/man -type f -exec gzip -9 {} \;