aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch')
-rw-r--r--recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch b/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch
new file mode 100644
index 0000000000..be20fe6df4
--- /dev/null
+++ b/recipes/libxine/libxine-1.1.16/ffmpeg_headers.patch
@@ -0,0 +1,19 @@
+Index: xine-lib-1.1.16.3/configure.ac
+===================================================================
+--- xine-lib-1.1.16.3.orig/configure.ac 2009-07-29 01:27:23.448366991 +0200
++++ xine-lib-1.1.16.3/configure.ac 2009-07-29 01:29:12.556348147 +0200
+@@ -350,14 +350,6 @@
+ AC_SUBST([FFMPEG_POSTPROC_LIBS])
+ AC_DEFINE([HAVE_FFMPEG], [1], [Define this if you have ffmpeg library])
+
+- dnl Check presence of ffmpeg/avutil.h to see if it's old or new
+- dnl style for headers. The new style would be preferred actually...
+- AC_CHECK_HEADERS([ffmpeg/avutil.h])
+- AC_CHECK_HEADERS([libavutil/avutil.h])
+- if test "$ac_cv_header_ffmpeg_avutil_h" = "yes" && test "$ac_cv_header_libavutil_avutil_h" = "yes"; then
+- AC_MSG_ERROR([old & new ffmpeg headers found - you need to clean up!])
+- fi
+-
+ AC_MSG_RESULT([using external ffmpeg])
+ else
+ AC_MSG_NOTICE([