From a94c976932ba314527bcb8faa7a6589ef0bc7266 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 22 Oct 2007 16:46:46 +0000 Subject: gst-plugins-ugly: add gstsid_autofoo_HACK.patch to make gst-plugins-ugly build the sid plugin --- .../gst-plugins-ugly/gstsid_autofoo_HACK.patch | 20 ++++++++++++++++++++ packages/gstreamer/gst-plugins-ugly_0.10.6.bb | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch (limited to 'packages') 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 index 0000000000..79a03741ac --- /dev/null +++ b/packages/gstreamer/gst-plugins-ugly/gstsid_autofoo_HACK.patch @@ -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 +- int main() +- { sidTune tune = sidTune(0); } +- ], +- HAVE_SIDPLAY="yes", +- HAVE_SIDPLAY="no", +- HAVE_SIDPLAY="no") ++ HAVE_SIDPLAY="yes" + + LIBS="$ac_libs_safe" + diff --git a/packages/gstreamer/gst-plugins-ugly_0.10.6.bb b/packages/gstreamer/gst-plugins-ugly_0.10.6.bb index 64f36ddb38..c88a4db990 100644 --- a/packages/gstreamer/gst-plugins-ugly_0.10.6.bb +++ b/packages/gstreamer/gst-plugins-ugly_0.10.6.bb @@ -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" + -- cgit v1.2.3