Integrate patches inside git repository
[hvlinux.git] / stage3 / patches / common / faac-1.28-glibc_fixes-1.patch
diff --git a/stage3/patches/common/faac-1.28-glibc_fixes-1.patch b/stage3/patches/common/faac-1.28-glibc_fixes-1.patch
new file mode 100644 (file)
index 0000000..3bc3be3
--- /dev/null
@@ -0,0 +1,25 @@
+Submitted By: Guy Dalziel <gdalziel at linuxfromscratch dot org>
+Date: 2009-08-04
+Initial Package Version: 1.28
+Origin: Guy Dalziel
+Upstream Status: Not submitted.
+Description: Fixes a function conflict between FAAC and Glibc.
+
+diff -Naur faac-1.28-orig/common/mp4v2/mpeg4ip.h faac-1.28/common/mp4v2/mpeg4ip.h
+--- faac-1.28-orig/common/mp4v2/mpeg4ip.h      2009-01-26 22:42:35.000000000 +0000
++++ faac-1.28/common/mp4v2/mpeg4ip.h   2009-08-04 13:45:47.728062591 +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