libwxsvg/libwxsvg-1.0.7-avutil.patch

28 lines
1.2 KiB
Diff

diff -Nru wxsvg-1.0.7.orig//configure wxsvg-1.0.7/configure
--- wxsvg-1.0.7.orig//configure 2010-10-10 18:18:59.000000000 +0200
+++ wxsvg-1.0.7/configure 2011-02-17 18:13:41.372955179 +0100
@@ -16510,9 +16510,9 @@
fi
# check path for old ffmpeg
- for ac_header in ffmpeg/avutil.h
+ for ac_header in libavutil/avutil.h
do :
- ac_fn_cxx_check_header_mongrel "$LINENO" "ffmpeg/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "$ac_includes_default"
+ ac_fn_cxx_check_header_mongrel "$LINENO" "libavutil/avutil.h" "ac_cv_header_ffmpeg_avutil_h" "$ac_includes_default"
if test "x$ac_cv_header_ffmpeg_avutil_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_FFMPEG_AVUTIL_H 1
diff -Nru wxsvg-1.0.7.orig//configure.in wxsvg-1.0.7/configure.in
--- wxsvg-1.0.7.orig//configure.in 2010-08-29 19:58:45.000000000 +0200
+++ wxsvg-1.0.7/configure.in 2011-02-17 18:14:13.172397867 +0100
@@ -183,7 +183,7 @@
if test x$enable_ffmpeg = xyes; then
PKG_CHECK_MODULES(FFMPEG, [libavformat >= 50.0.0 libavcodec >= 51.0.0 libavutil >= 49.0.0 libswscale])
# check path for old ffmpeg
- AC_CHECK_HEADERS([ffmpeg/avutil.h])
+ AC_CHECK_HEADERS([libavutil/avutil.h])
CXXFLAGS="$CXXFLAGS -DUSE_FFMPEG $FFMPEG_CFLAGS"
LIBS="$LIBS $FFMPEG_LIBS"
fi