aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-09-14 07:39:50 +0800
committerahze <ahze@FreeBSD.org>2006-09-14 07:39:50 +0800
commitc2ef86af1e51d30549828f4a2ec96ffbb9637e1a (patch)
tree2728984542459928bf467a7487007580ebc7809e /multimedia
parent5f021bffe65eb7d01c6ef1f45d967b6fe8ce3477 (diff)
downloadfreebsd-ports-gnome-c2ef86af1e51d30549828f4a2ec96ffbb9637e1a.tar.gz
freebsd-ports-gnome-c2ef86af1e51d30549828f4a2ec96ffbb9637e1a.tar.zst
freebsd-ports-gnome-c2ef86af1e51d30549828f4a2ec96ffbb9637e1a.zip
- Fix build on gstreamer-plugins-faad80 & remove BROKEN
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_faad_gstfaad.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_faad_gstfaad.c b/multimedia/gstreamer-plugins80/files/patch-ext_faad_gstfaad.c
new file mode 100644
index 000000000000..8420cdf00c12
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_faad_gstfaad.c
@@ -0,0 +1,21 @@
+--- ext/faad/gstfaad.c.orig Wed Sep 13 15:26:13 2006
++++ ext/faad/gstfaad.c Wed Sep 13 15:25:46 2006
+@@ -37,6 +37,9 @@
+ * but not all, hence this Truly Evil Hack. This hack will need updating if
+ * upstream ever releases something with the new API.
+ */
++#include <faad.h>
++#include "gstfaad.h"
++#if 0
+ #define faacDecInit faadDecInit_no_definition
+ #define faacDecInit2 faadDecInit2_no_definition
+ #include "gstfaad.h"
+@@ -46,7 +49,7 @@
+ extern long faacDecInit (faacDecHandle, guint8 *, guint32, guint32 *, guint8 *);
+ extern int8_t faacDecInit2 (faacDecHandle, guint8 *, guint32,
+ guint32 *, guint8 *);
+-
++#endif
+
+ GST_DEBUG_CATEGORY_STATIC (faad_debug);
+ #define GST_CAT_DEFAULT faad_debug