From fd59d463d3e36e8c856f524e4816b2a32642c04a Mon Sep 17 00:00:00 2001 From: "Edward W. Koenig" Date: Wed, 9 Sep 2015 23:10:03 +0700 Subject: multimedia/dvdauthor: Patched for x86_64. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/dvdauthor/config.patch | 19 +++++++++++++++++++ multimedia/dvdauthor/dvdauthor.SlackBuild | 13 ++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 multimedia/dvdauthor/config.patch (limited to 'multimedia') diff --git a/multimedia/dvdauthor/config.patch b/multimedia/dvdauthor/config.patch new file mode 100644 index 0000000000..5976969af5 --- /dev/null +++ b/multimedia/dvdauthor/config.patch @@ -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" diff --git a/multimedia/dvdauthor/dvdauthor.SlackBuild b/multimedia/dvdauthor/dvdauthor.SlackBuild index a333843e77..829bc055c1 100644 --- a/multimedia/dvdauthor/dvdauthor.SlackBuild +++ b/multimedia/dvdauthor/dvdauthor.SlackBuild @@ -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 {} \; -- cgit v1.2.3