libxine 1.1.0: Stop it from seeing the host system's Wand-config and getting confused.
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 23 Jan 2006 21:25:32 +0000 (21:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 23 Jan 2006 21:25:32 +0000 (21:25 +0000)
packages/libxine/libxine-1.1.0/configure.patch
packages/libxine/libxine_1.1.0.bb

index f8d0ea1..a0078a7 100644 (file)
@@ -3,8 +3,10 @@
 # Patch managed by http://www.holgerschurig.de/patcher.html
 #
 
---- xine-lib-1.1.0/configure.ac~configure-1.0
-+++ xine-lib-1.1.0/configure.ac
+Index: xine-lib-1.1.0/configure.ac
+===================================================================
+--- xine-lib-1.1.0.orig/configure.ac   2005-07-21 21:10:10.000000000 +0000
++++ xine-lib-1.1.0/configure.ac        2006-01-11 14:30:05.965735856 +0000
 @@ -715,6 +715,7 @@
  LIBS="$saved_libs"
  fi
  AC_SUBST(MNG_LIBS)
  
  dnl ---------------------------------------------
-@@ -1153,7 +1120,7 @@
+@@ -1134,6 +1101,9 @@
+ dnl ---------------------------------------------
+ AC_PATH_PROG(WAND_CONFIG, Wand-config, no)
++if ( ! test -f "$WAND_CONFIG" ) && ( ! test -x "$WAND_CONFIG" ) ; then
++  WAND_CONFIG="no"
++fi
+ if test "$WAND_CONFIG" = "no" ; then
+   AC_MSG_RESULT([*** All Imagemagick dependent parts will be disabled, Wand-config not found. ***])
+ else
+@@ -1153,7 +1123,7 @@
  dnl freetype2 lib.
  dnl ---------------------------------------------
  
  
  
  dnl ---------------------------------------------
-@@ -1196,37 +1163,21 @@
+@@ -1196,37 +1166,21 @@
  dnl ESD support
  dnl ---------------------------------------------
  
  
  
  dnl ---------------------------------------------
-@@ -1403,75 +1354,7 @@
+@@ -1403,75 +1357,7 @@
      ],ISOC99_PRAGMA=no)
      AC_MSG_RESULT($ISOC99_PRAGMA)
  
index e0c8e54..af5561d 100644 (file)
@@ -41,6 +41,8 @@ EXTRA_OECONF="-with-zlib-path=${STAGING_DIR}/${HOST_SYS} \
        --without-xv  --without-xxmc --without-xvmc \
        --with-x --x-includes=${STAGING_INCDIR}/X11 --x-libraries=${STAGING_LIBDIR}"
 
+export WAND_CONFIG="${STAGING_BINDIR}/Wand-config"
+
 do_compile() {
        oe_runmake LIBTOOL=${S}/${TARGET_SYS}-libtool
 }