summaryrefslogtreecommitdiff
path: root/audio/faac/faac.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/faac/faac.SlackBuild')
-rw-r--r--audio/faac/faac.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/faac/faac.SlackBuild b/audio/faac/faac.SlackBuild
index c503ae9ad3..988f4d6415 100644
--- a/audio/faac/faac.SlackBuild
+++ b/audio/faac/faac.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=faac
VERSION=${VERSION:-1.28}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -98,6 +98,13 @@ find . \
# see http://sourceforge.net/tracker/?func=detail&aid=2894310&group_id=704&atid=100704
# and http://ftp.eenet.ee/gentoo-portage/media-libs/faac/files/faac-1.28-external-libmp4v2.patch
patch -p1 < $CWD/faac-1.28-external-libmp4v2.patch
+
+# http://sourceforge.net/p/faac/bugs/174/
+patch -p0 < $CWD/faac-1.28-libmp4v2_r479_compat.patch
+
+# Fix for automake >= 1.13
+sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.in || die
+
# having just patched configure.in, we need to bludgeon automake
libtoolize --force --copy
aclocal