Source: gst-plugins-ugly1.0
Version: 1.14.4-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

gst-plugins-ugly1.0 fails to cross build from source, because its check
for -lsidplay concludes that you can never cross build the sid plugin.
dh_install subsequently fails to find the plugin. The attached patch
fixes the check, but it doesn't make gst-plugins-ugly1.0 cross
buildable. It still fails in dh_gstscancodecs and I have no idea how to
fix that. Please consider applying the attached patch anyway and close
this bug when doing so.

Helmut
--- gst-plugins-ugly1.0-1.14.4.orig/m4/gst-sid.m4
+++ gst-plugins-ugly1.0-1.14.4/m4/gst-sid.m4
@@ -16,13 +16,9 @@
 
   LIBS="-lsidplay"
 
-  AC_TRY_RUN([
-    #include <sidplay/player.h>
-    int main()
-    { sidTune tune = sidTune(0);  }
-    ],
+  AC_TRY_LINK([#include <sidplay/player.h>],
+    [sidTune tune = sidTune(0);],
     HAVE_SIDPLAY="yes",
-    HAVE_SIDPLAY="no",
     HAVE_SIDPLAY="no")
 
   LIBS="$ac_libs_safe"

Reply via email to