From: Jakub Bogusz Date: Sun, 9 Dec 2012 10:50:37 +0000 (+0100) Subject: - added mpeg4ip patch (fixes build of mpeg4ip part) X-Git-Tag: auto/th/faac-1.28-2~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffaac.git;a=commitdiff_plain;h=25763d4f14c3c25d187b6e32a391b2304f1ac7f6 - added mpeg4ip patch (fixes build of mpeg4ip part) --- diff --git a/faac-mpeg4ip.patch b/faac-mpeg4ip.patch new file mode 100644 index 0000000..14bfc77 --- /dev/null +++ b/faac-mpeg4ip.patch @@ -0,0 +1,17 @@ +--- faac-1.28/common/mp4v2/mpeg4ip.h.orig 2009-01-26 23:42:35.000000000 +0100 ++++ faac-1.28/common/mp4v2/mpeg4ip.h 2012-12-09 11:31:38.323778806 +0100 +@@ -120,14 +120,6 @@ + #endif + #include + +-#ifdef __cplusplus +-extern "C" { +-#endif +-char *strcasestr(const char *haystack, const char *needle); +-#ifdef __cplusplus +-} +-#endif +- + #define OPEN_RDWR O_RDWR + #define OPEN_CREAT O_CREAT + #define OPEN_RDONLY O_RDONLY diff --git a/faac.spec b/faac.spec index 6d74d47..a8cadcb 100644 --- a/faac.spec +++ b/faac.spec @@ -10,9 +10,10 @@ Version: 1.28 Release: 1 License: LGPL v2.1+ Group: Applications/Sound -Source0: http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.gz # Source0-md5: 80763728d392c7d789cde25614c878f6 Patch0: %{name}-link.patch +Patch1: %{name}-mpeg4ip.patch URL: http://www.audiocoding.com/ BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -72,6 +73,7 @@ Statyczna biblioteka faac. %prep %setup -q %patch0 -p1 +%patch1 -p1 # aclocal can't stand it dos2unix configure.in