]> git.pld-linux.org Git - packages/faac.git/commitdiff
- added mpeg4ip patch (fixes build of mpeg4ip part)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Dec 2012 10:50:37 +0000 (11:50 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Dec 2012 10:50:37 +0000 (11:50 +0100)
faac-mpeg4ip.patch [new file with mode: 0644]
faac.spec

diff --git a/faac-mpeg4ip.patch b/faac-mpeg4ip.patch
new file mode 100644 (file)
index 0000000..14bfc77
--- /dev/null
@@ -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 <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
index 6d74d473be4dff6856ee856109d4cb654c474e2f..a8cadcb67163948a39224e0abc4ef23b55f85be5 100644 (file)
--- 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
This page took 0.057835 seconds and 4 git commands to generate.