[Lunar-commits] <moonbase> faac: compilation fix
Paul Bredbury
brebs at lunar-linux.org
Sat Sep 26 08:15:23 CEST 2009
commit 9d23b5339d8777d047b6a0af5aff32bc03602daf
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Sat Sep 26 13:15:23 2009 +0700
faac: compilation fix
---
audio/faac/BUILD | 5 +++++
audio/faac/DETAILS | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/audio/faac/BUILD b/audio/faac/BUILD
index 0628b55..bdcef90 100644
--- a/audio/faac/BUILD
+++ b/audio/faac/BUILD
@@ -1,5 +1,10 @@
(
+ # Fixes compilation error:
+ # mpeg4ip.h:126: error: new declaration 'char* strcasestr(const char*, const char*)'
+ # /usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+
sedit "s/\r//g" bootstrap Makefile.am configure.in &&
./bootstrap &&
default_build
diff --git a/audio/faac/DETAILS b/audio/faac/DETAILS
index a5b484e..484deb7 100644
--- a/audio/faac/DETAILS
+++ b/audio/faac/DETAILS
@@ -1,8 +1,11 @@
MODULE=faac
VERSION=1.28
SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE2=faac-1.28-external-libmp4v2.patch.bz2
SOURCE_URL=$SFORGE_URL/faac/
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:d00b023a3642f81bb1fb13d962a65079121396ee
+ SOURCE2_VFY=sha1:3857fdfe1cef0ed1d78fc964a6344fa82faedd5a
WEB_SITE=http://www.audiocoding.com/
ENTERED=20050308
UPDATED=20080418
More information about the Lunar-commits
mailing list