diff options
author | Manuel Teira <manuel.teira@telefonica.net> | 2007-05-09 18:23:47 +0000 |
---|---|---|
committer | Manuel Teira <manuel.teira@telefonica.net> | 2007-05-09 18:23:47 +0000 |
commit | 0f6211022df73c7021fccfd55e33b4fa4a375d80 (patch) | |
tree | e1c0565fe99af40e1ea8029d38b18ccb96430245 /packages | |
parent | 7c8a5f5c35b2e43ca9e420debd61c8a6ee1d771c (diff) |
gst-plugins-bad 0.10.3: Fix crosscompilation issue
* Erase FAAD2 version AC_TRY_RUN based detection
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gstreamer/gst-plugins-bad/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/gstreamer/gst-plugins-bad/cross-compile.patch | 44 |
2 files changed, 44 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-plugins-bad/.mtn2git_empty b/packages/gstreamer/gst-plugins-bad/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gstreamer/gst-plugins-bad/.mtn2git_empty diff --git a/packages/gstreamer/gst-plugins-bad/cross-compile.patch b/packages/gstreamer/gst-plugins-bad/cross-compile.patch new file mode 100644 index 0000000000..cc4d972f3e --- /dev/null +++ b/packages/gstreamer/gst-plugins-bad/cross-compile.patch @@ -0,0 +1,44 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- gst-plugins-bad-0.10.3/configure.ac~cross-compile ++++ gst-plugins-bad-0.10.3/configure.ac +@@ -398,35 +398,7 @@ + GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [ + HAVE_FAAD="yes" + GST_CHECK_LIBHEADER(FAAD, faad, faacDecOpen, -lm, faad.h, +- FAAD_LIBS="-lfaad -lm", HAVE_FAAD="no") +- if test $HAVE_FAAD = "yes"; then +- AC_MSG_CHECKING([Checking for FAAD >= 2]) +- AC_TRY_RUN([ +- +-#include <faad.h> +-#if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE) +-#error Not faad2 +-#else +-#include <string.h> +- +-int main() +-{ +-char version[9] = FAAD2_VERSION; +-// a release candidate of 2.0 is not enought for us +-if ( strstr( version, "2.0 RC" ) ) { return 1; } +- +-return 0; +-} +- +-#endif +- ], [ +- HAVE_FAAD="yes" +- AC_MSG_RESULT(yes) +- ], [ +- HAVE_FAAD="no" +- AC_MSG_RESULT(no) +- ]) +- fi ++ FAAD_LIBS="-lfaad -lm") + AS_SCRUB_INCLUDE(FAAD_CFLAGS) + AC_SUBST(FAAD_LIBS) + ]) |