[packages/faac] - added mpeg4ip patch (fixes build of mpeg4ip part)
qboosh
qboosh at pld-linux.org
Sun Dec 9 11:49:51 CET 2012
commit 25763d4f14c3c25d187b6e32a391b2304f1ac7f6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 9 11:50:37 2012 +0100
- added mpeg4ip patch (fixes build of mpeg4ip part)
faac-mpeg4ip.patch | 17 +++++++++++++++++
faac.spec | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
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
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 <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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/faac.git/commitdiff/25763d4f14c3c25d187b6e32a391b2304f1ac7f6
More information about the pld-cvs-commit
mailing list