aboutsummaryrefslogtreecommitdiffstats
path: root/main/faac
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-02 11:41:08 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-20 22:53:24 +0000
commitc3dda532cb2cb7f6ab62e564a79d089bf8bcc659 (patch)
tree6c13e59729a3f113b6747cf36b15e7ebcde5022d /main/faac
parent7379c2a66c4f274292d559248656934dded20d54 (diff)
downloadaports-c3dda532cb2cb7f6ab62e564a79d089bf8bcc659.tar.bz2
aports-c3dda532cb2cb7f6ab62e564a79d089bf8bcc659.tar.xz
main/faac: fix building on eglibc
(cherry picked from commit f657e6bdcb16c3e4ea15668c9603f478710caca0)
Diffstat (limited to 'main/faac')
-rw-r--r--main/faac/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 55fa0a006b..2de4bd953b 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -1,14 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=faac
pkgver=1.28
-pkgrel=4
+pkgrel=5
pkgdesc="FAAC is an AAC audio encoder."
url="http://www.audiocoding.com/"
license="GPL custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="autoconf automake libtool"
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+"
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ #taken from http://bugs.sourcemage.org/show_bug.cgi?id=15263
+ sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" common/mp4v2/mpeg4ip.h
+}
build() {
cd "$srcdir"/$pkgname-$pkgver