summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-ffmpeg80/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-ffmpeg80/files')
-rw-r--r--multimedia/gstreamer-ffmpeg80/files/extra-patch-gst-libs_ext_ffmpeg_libavformat_nut.c12
-rw-r--r--multimedia/gstreamer-ffmpeg80/files/patch-configure20
-rw-r--r--multimedia/gstreamer-ffmpeg80/files/patch-ext_ffmpeg_Makefile.in11
3 files changed, 43 insertions, 0 deletions
diff --git a/multimedia/gstreamer-ffmpeg80/files/extra-patch-gst-libs_ext_ffmpeg_libavformat_nut.c b/multimedia/gstreamer-ffmpeg80/files/extra-patch-gst-libs_ext_ffmpeg_libavformat_nut.c
new file mode 100644
index 000000000..1c1fc628e
--- /dev/null
+++ b/multimedia/gstreamer-ffmpeg80/files/extra-patch-gst-libs_ext_ffmpeg_libavformat_nut.c
@@ -0,0 +1,12 @@
+--- gst-libs/ext/ffmpeg/libavformat/nut.c.orig Wed Apr 14 20:38:02 2004
++++ gst-libs/ext/ffmpeg/libavformat/nut.c Sun Jul 11 18:14:19 2004
+@@ -59,6 +59,9 @@
+ #define FLAG_FULL_PTS 4
+ #define FLAG_KEY_FRAME 32
+
++// UINT64_MAX isn't defined on FreeBSD 4.x borrow it from 5.x
++#define UINT64_MAX 0xffffffffffffffffULL
++
+ typedef struct {
+ uint8_t flags;
+ uint8_t stream_id_plus1;
diff --git a/multimedia/gstreamer-ffmpeg80/files/patch-configure b/multimedia/gstreamer-ffmpeg80/files/patch-configure
new file mode 100644
index 000000000..9bfbd28d1
--- /dev/null
+++ b/multimedia/gstreamer-ffmpeg80/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Thu Feb 26 19:28:07 2004
++++ configure Thu Feb 26 21:10:52 2004
+@@ -19472,7 +19473,7 @@
+ echo $ECHO_N "checking to see if compiler understands -Werror... $ECHO_C" >&6
+
+ save_CFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS -Werror"
++ CFLAGS="$CFLAGS"
+
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+@@ -19513,7 +19514,7 @@
+ CFLAGS="$save_CFLAGS"
+
+ if test "X$flag_ok" = Xyes ; then
+- GST_ERROR="$GST_ERROR -Werror"
++ GST_ERROR="$GST_ERROR"
+ true
+ else
+ GST_ERROR="$GST_ERROR"
diff --git a/multimedia/gstreamer-ffmpeg80/files/patch-ext_ffmpeg_Makefile.in b/multimedia/gstreamer-ffmpeg80/files/patch-ext_ffmpeg_Makefile.in
new file mode 100644
index 000000000..ec9dfaf85
--- /dev/null
+++ b/multimedia/gstreamer-ffmpeg80/files/patch-ext_ffmpeg_Makefile.in
@@ -0,0 +1,11 @@
+--- ext/ffmpeg/Makefile.in.orig Wed Mar 9 19:50:50 2005
++++ ext/ffmpeg/Makefile.in Wed Mar 9 19:51:23 2005
+@@ -164,7 +164,7 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -Wl,-Bsymbolic -lc
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@