[Lunar-commits] <moonbase> faac: extra sed needed in BUILD

Duncan Gibson engelsman at lunar-linux.org
Tue Jan 19 21:39:25 CET 2010


commit 392567c809a2446a2e68de5cf76e33b722fd9036
Author: Duncan Gibson <duncan.gibson at xs4all.nl>
Date:   Tue Jan 19 21:39:25 2010 +0100

    faac: extra sed needed in BUILD
    
    existing patch no longer handles the strcasecmp compilation error,
    so extra sedit required in BUILD to work arround the problem, as
    described at http://bugs.sourcemage.org/show_bug.cgi?id=15263
---
 audio/faac/BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/audio/faac/BUILD b/audio/faac/BUILD
index bdcef90..5ff2a98 100644
--- a/audio/faac/BUILD
+++ b/audio/faac/BUILD
@@ -5,6 +5,9 @@
   # /usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
   patch_it $SOURCE_CACHE/$SOURCE2 1 &&
 
+  # and from http://bugs.sourcemage.org/show_bug.cgi?id=15263
+  sedit 's/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /' common/mp4v2/mpeg4ip.h &&
+
   sedit "s/\r//g" bootstrap Makefile.am configure.in &&
   ./bootstrap         &&
   default_build


More information about the Lunar-commits mailing list