--- /dev/null
+--- 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 <sys/param.h>
+
+-#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
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
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# aclocal can't stand it
dos2unix configure.in