gst-plugins-ugly: add gstsid_autofoo_HACK.patch to make gst-plugins-ugly build the...
authorMichael Lauer <mickey@vanille-media.de>
Mon, 22 Oct 2007 16:46:46 +0000 (16:46 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 22 Oct 2007 16:46:46 +0000 (16:46 +0000)
packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch [new file with mode: 0644]
packages/gstreamer/gst-plugins-ugly_0.10.6.bb

diff --git a/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch b/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch
new file mode 100644 (file)
index 0000000..79a0374
--- /dev/null
@@ -0,0 +1,20 @@
+Index: gst-plugins-ugly-0.10.6/m4/gst-sid.m4
+===================================================================
+--- gst-plugins-ugly-0.10.6.orig/m4/gst-sid.m4
++++ gst-plugins-ugly-0.10.6/m4/gst-sid.m4
+@@ -16,14 +16,7 @@ if test $HAVE_SIDPLAY = "yes"; then
+   LIBS="-lsidplay"
+-  AC_TRY_RUN([
+-    #include <sidplay/player.h>
+-    int main()
+-    { sidTune tune = sidTune(0);  }
+-    ],
+-    HAVE_SIDPLAY="yes",
+-    HAVE_SIDPLAY="no",
+-    HAVE_SIDPLAY="no")
++  HAVE_SIDPLAY="yes"
+   LIBS="$ac_libs_safe"
index 64f36dd..c88a4db 100644 (file)
@@ -1,7 +1,9 @@
 require gst-plugins.inc
 
 DEPENDS += "gst-plugins-base mpeg2dec libsidplay"
-PR = "r2"
+PR = "r3"
 
 SRC_URI += "file://cross-compile.patch;patch=1 \
-            file://gstmad_16bit.patch;patch=1"
+            file://gstmad_16bit.patch;patch=1 \
+            file://gstsid_autofoo_HACK.patch;patch=1"
+