diff options
-rw-r--r-- | audio/gstreamer-plugins-faad80/Makefile | 4 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins80/files/patch-ext_faad_gstfaad.c | 21 |
2 files changed, 21 insertions, 4 deletions
diff --git a/audio/gstreamer-plugins-faad80/Makefile b/audio/gstreamer-plugins-faad80/Makefile index b42b7b561503..f229bb4561de 100644 --- a/audio/gstreamer-plugins-faad80/Makefile +++ b/audio/gstreamer-plugins-faad80/Makefile @@ -15,8 +15,4 @@ GST_PLUGIN= faad MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins80 -BROKEN= Does not compile -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2006-12-01 - .include "${MASTERDIR}/Makefile" 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 |