#! /bin/sh /usr/share/dpatch/dpatch-run ## 01-swfdec-version.dpatch by Elias Mussi ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad directfb-extra-1.0.0~/configure.in directfb-extra-1.0.0/configure.in --- directfb-extra-1.0.0~/configure.in 2008-05-21 11:17:31.000000000 -0300 +++ directfb-extra-1.0.0/configure.in 2008-05-21 11:40:54.000000000 -0300 @@ -451,7 +451,7 @@ if test "x$enable_swfdec" = "xyes"; then swfdec_pc="no" AC_MSG_CHECKING([for libswfdec >= 0.3.0]) - for i in "swfdec" "swfdec-0.3"; do + for i in "swfdec" "swfdec-0.6"; do if $PKG_CONFIG --atleast-version=0.3.0 $i; then swfdec_pc=$i fi @@ -461,7 +461,7 @@ swfdec="yes" SWFDEC_CFLAGS=`$PKG_CONFIG --cflags $swfdec_pc` SWFDEC_LIBS=`$PKG_CONFIG --libs $swfdec_pc` - if $PKG_CONFIG --max-version=0.3.5 $swfdec_pc >&/dev/null; then + if $PKG_CONFIG --max-version=0.6 $swfdec_pc >&/dev/null; then AC_DEFINE(SWFDEC_HAS_SEEK,1,[Define to 1 if Swfdec supports seek.]) fi else