summaryrefslogtreecommitdiff
path: root/audio/faac/faac.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-07-16 19:06:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2013-11-07 11:28:15 -0600
commitdeb7c4bbec3ef07dfc5230b52609e907bdbcb47d (patch)
tree6caddf81fe2727553b90af68aae856002dc7ef51 /audio/faac/faac.SlackBuild
parent47c917176a93a0ebbc29b7be5b401526dc9193a8 (diff)
downloadslackbuilds-deb7c4bbec3ef07dfc5230b52609e907bdbcb47d.tar.gz
audio/faac: Added a patch for the recent libmp4v2.
...and another for automake >= 1.13 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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