diff options
author | Edward W. Koenig <kingbeowulf@gmail.com> | 2015-09-09 23:10:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-09 23:10:03 +0700 |
commit | fd59d463d3e36e8c856f524e4816b2a32642c04a (patch) | |
tree | dcb022f57d901a587756aec73133a488186329b5 /multimedia | |
parent | a0d62c93774cf7b1f4dbe6f708cfa53d9ec63b6e (diff) |
multimedia/dvdauthor: Patched for x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/dvdauthor/config.patch | 19 | ||||
-rw-r--r-- | multimedia/dvdauthor/dvdauthor.SlackBuild | 13 |
2 files changed, 27 insertions, 5 deletions
diff --git a/multimedia/dvdauthor/config.patch b/multimedia/dvdauthor/config.patch new file mode 100644 index 0000000000000..5976969af5f1a --- /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 a333843e77e6f..829bc055c19a0 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 {} \; |