summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-11-16 01:59:14 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-11-16 01:59:14 +0800
commit9934e3602764d86ee21642523f635f5483071131 (patch)
treef71eb7a560eef4b71a0db06df182613aa932db09 /multimedia/gstreamer-plugins/files
parent3bc51ee56f72f66ca82ec04110c20b7dd5d5d5c8 (diff)
downloadmarcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar.gz
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar.bz2
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar.lz
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar.xz
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.tar.zst
marcuscom-ports-9934e3602764d86ee21642523f635f5483071131.zip
Update to 0.7.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1333 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer-plugins/files')
-rw-r--r--multimedia/gstreamer-plugins/files/ia64-patch-ffmpeg::configure10
-rw-r--r--multimedia/gstreamer-plugins/files/patch-configure27
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_a52dec_gsta52dec.c11
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_ffmpeg_gstffmpegcodecmap.c36
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c17
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst-libs_ext_ffmpeg_Makefile.in100
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst_rtp_rtp-packet.c10
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ltmain.sh51
-rw-r--r--multimedia/gstreamer-plugins/files/patch-sys_oss_gstossmixer.c21
-rw-r--r--multimedia/gstreamer-plugins/files/patch-sys_xvideo_gstxvimage.c10
10 files changed, 293 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/ia64-patch-ffmpeg::configure b/multimedia/gstreamer-plugins/files/ia64-patch-ffmpeg::configure
new file mode 100644
index 000000000..f4c1cb8ae
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/ia64-patch-ffmpeg::configure
@@ -0,0 +1,10 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/configure.bak Sat Sep 27 18:39:42 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/configure Sat Sep 27 19:53:52 2003
+@@ -119,6 +119,7 @@
+ v4l="no"
+ audio_oss="yes"
+ make="gmake"
++CFLAGS="$CFLAGS -fPIC -DPIC"
+ LDFLAGS="$LDFLAGS -export-dynamic"
+ ;;
+ BSD/OS)
diff --git a/multimedia/gstreamer-plugins/files/patch-configure b/multimedia/gstreamer-plugins/files/patch-configure
new file mode 100644
index 000000000..7b664a7cf
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-configure
@@ -0,0 +1,27 @@
+--- configure.orig Sat Nov 15 00:58:40 2003
++++ configure Sat Nov 15 00:59:23 2003
+@@ -34136,18 +34136,18 @@
+ mk_MAJVER=`echo 0.4.4 | cut -d"." -f1`
+ mk_MINVER=`echo 0.4.4 | cut -d"." -f2`
+ mk_RELVER=`echo 0.4.4 | cut -d"." -f3`
+- mver_ok=`sed 's;\.;\ ;g' < conf.matroskatest | (read -a mver
+- if test ${mver[0]} -gt $mk_MAJVER ; then
++ mver_ok=`sed 's;\.;\ ;g' < conf.matroskatest | (read mver0 mver1 mver2
++ if test ${mver0} -gt $mk_MAJVER ; then
+ mver_ok=1
+- elif test ${mver[0]} -lt $mk_MAJVER ; then
++ elif test ${mver0} -lt $mk_MAJVER ; then
+ mver_ok=0
+ else
+- if test ${mver[1]} -gt $mk_MINVER ; then
++ if test ${mver1} -gt $mk_MINVER ; then
+ mver_ok=1
+- elif test ${mver[1]} -lt $mk_MINVER ; then
++ elif test ${mver1} -lt $mk_MINVER ; then
+ mver_ok=0
+ else
+- if test ${mver[2]} -ge $mk_RELVER ; then
++ if test ${mver2} -ge $mk_RELVER ; then
+ mver_ok=1
+ else
+ mver_ok=0
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_a52dec_gsta52dec.c b/multimedia/gstreamer-plugins/files/patch-ext_a52dec_gsta52dec.c
new file mode 100644
index 000000000..05c0e5366
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_a52dec_gsta52dec.c
@@ -0,0 +1,11 @@
+--- ext/a52dec/gsta52dec.c.orig Sun Apr 6 18:58:19 2003
++++ ext/a52dec/gsta52dec.c Sun Apr 20 13:16:28 2003
+@@ -25,7 +25,7 @@
+
+ #include <stdlib.h>
+
+-#ifdef HAVE_STDINT_H
++#if defined(HAVE_STDINT_H) || defined(__FreeBSD__)
+ #include <stdint.h>
+ #else
+ /* (Ronald) hacky... can't include stdint.h because it's not available
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_ffmpeg_gstffmpegcodecmap.c b/multimedia/gstreamer-plugins/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
new file mode 100644
index 000000000..9f518be88
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_ffmpeg_gstffmpegcodecmap.c
@@ -0,0 +1,36 @@
+--- ext/ffmpeg/gstffmpegcodecmap.c.orig Sat Nov 15 02:22:47 2003
++++ ext/ffmpeg/gstffmpegcodecmap.c Sat Nov 15 02:22:27 2003
+@@ -44,7 +44,7 @@
+ "height", GST_PROPS_INT (context->height),\
+ "framerate", GST_PROPS_FLOAT ( \
+ 1.*context->frame_rate/ \
+- context->frame_rate_base), \
++ context->frame_rate_base) , \
+ ##props) \
+ : \
+ GST_CAPS_NEW (name, \
+@@ -52,7 +52,7 @@
+ "width", GST_PROPS_INT_RANGE (16, 4096), \
+ "height", GST_PROPS_INT_RANGE (16, 4096), \
+ "framerate", GST_PROPS_FLOAT_RANGE (0, \
+- G_MAXFLOAT), \
++ G_MAXFLOAT) , \
+ ##props)
+
+ /* same for audio - now with channels/sample rate
+@@ -63,13 +63,13 @@
+ GST_CAPS_NEW (name, \
+ mimetype, \
+ "rate", GST_PROPS_INT (context->sample_rate), \
+- "channels", GST_PROPS_INT (context->channels), \
++ "channels", GST_PROPS_INT (context->channels) , \
+ ##props) \
+ : \
+ GST_CAPS_NEW (name, \
+ mimetype, \
+ "rate", GST_PROPS_INT_RANGE (8000, 96000), \
+- "channels", GST_PROPS_INT_RANGE (1, 2), \
++ "channels", GST_PROPS_INT_RANGE (1, 2) , \
+ ##props)
+
+ /* Convert a FFMPEG codec ID and optional AVCodecContext
diff --git a/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c b/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c
new file mode 100644
index 000000000..8149c3981
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c
@@ -0,0 +1,17 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Fri Apr 25 22:06:13 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Fri Apr 25 23:19:39 2003
+@@ -24,8 +24,14 @@
+ * and Falk Hueffner <falk@debian.org>
+ */
+
++#include <sys/param.h>
++
+ #include "asm.h"
+ #include "../dsputil.h"
++
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++typedef __int32_t int_fast32_t;
++#endif
+
+ extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
+ int line_size);
diff --git a/multimedia/gstreamer-plugins/files/patch-gst-libs_ext_ffmpeg_Makefile.in b/multimedia/gstreamer-plugins/files/patch-gst-libs_ext_ffmpeg_Makefile.in
new file mode 100644
index 000000000..cc0c99630
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst-libs_ext_ffmpeg_Makefile.in
@@ -0,0 +1,100 @@
+--- gst-libs/ext/ffmpeg/Makefile.in.orig Sat Nov 15 01:44:08 2003
++++ gst-libs/ext/ffmpeg/Makefile.in Sat Nov 15 01:44:41 2003
+@@ -884,97 +884,6 @@
+ distclean-compile:
+ -rm -f *.tab.c
+
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-4xm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ac3enc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-adpcm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-allcodecs.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-asv1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cabac.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-common.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cputest.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-cyuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dsputil_ppc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-dv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-error_resilience.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-eval.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fdct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fft.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-fft_sse.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ffv1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-golomb.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h263.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h263dec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-h264.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-huffyuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-idct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-imgconvert.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-imgresample.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-indeo3.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jfdctfst.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jfdctint.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-jrevdct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mace.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mdct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mem.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mjpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-motion_est.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-motion_est_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpeg12.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegaudio.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegaudiodec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-mpegvideo_ppc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-msmpeg4.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-opts.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-pcm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ra144.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ra288.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-ratecontrol.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-raw.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-resample.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-rv10.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-simple_idct.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-simple_idct_mmx.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-svq1.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-utils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-vp3.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavcodec_la-wmadec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-4xm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-allformats.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-asf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-au.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avidec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avienc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-avio.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-aviobuf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-crc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-cutils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-dv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-ffm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-file.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-framehook.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-gif.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-gifdec.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-img.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-jpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mov.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpegts.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpegtsenc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-mpjpeg.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-png.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-pnm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-raw.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-rm.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-swf.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-utils.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-wav.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-yuv.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libavformat_la-yuv4mpeg.Plo@am__quote@
+-
+ .c.o:
+ @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
+ @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
diff --git a/multimedia/gstreamer-plugins/files/patch-gst_rtp_rtp-packet.c b/multimedia/gstreamer-plugins/files/patch-gst_rtp_rtp-packet.c
new file mode 100644
index 000000000..b65d5146a
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst_rtp_rtp-packet.c
@@ -0,0 +1,10 @@
+--- gst/rtp/rtp-packet.c.orig Sat Nov 15 01:59:32 2003
++++ gst/rtp/rtp-packet.c Sat Nov 15 01:59:44 2003
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <glib.h>
+
diff --git a/multimedia/gstreamer-plugins/files/patch-ltmain.sh b/multimedia/gstreamer-plugins/files/patch-ltmain.sh
new file mode 100644
index 000000000..3d50310f6
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ltmain.sh
@@ -0,0 +1,51 @@
+--- ltmain.sh.orig Mon Oct 20 15:20:54 2003
++++ ltmain.sh Fri Nov 14 18:06:07 2003
+@@ -1278,7 +1278,7 @@
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd* | *-*-freebsd*)
++ *-*-openbsd* | *-*-freebsd4*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -1288,8 +1288,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -3008,6 +3016,9 @@
+ # problems, so we reset it completely
+ verstring=
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ verstring="0.0"
+ ;;
+@@ -5457,10 +5468,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/multimedia/gstreamer-plugins/files/patch-sys_oss_gstossmixer.c b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstossmixer.c
new file mode 100644
index 000000000..99885064d
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-sys_oss_gstossmixer.c
@@ -0,0 +1,21 @@
+--- sys/oss/gstossmixer.c.orig Sat Nov 15 02:02:25 2003
++++ sys/oss/gstossmixer.c Sat Nov 15 02:10:18 2003
+@@ -399,7 +399,6 @@
+ gint i, devmask;
+ const GList *pads = gst_element_get_pad_list (GST_ELEMENT (oss));
+ GstPadDirection dir = GST_PAD_UNKNOWN;
+- struct mixer_info minfo;
+
+ g_return_if_fail (oss->mixer_fd == -1);
+
+@@ -428,9 +427,7 @@
+ }
+
+ /* get name */
+- if (ioctl (oss->mixer_fd, SOUND_MIXER_INFO, &minfo) == 0) {
+- oss->device_name = g_strdup (minfo.name);
+- }
++ oss->device_name = g_strdup ("FreeBSD Mixer");
+
+ /* build track list */
+ for (i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
diff --git a/multimedia/gstreamer-plugins/files/patch-sys_xvideo_gstxvimage.c b/multimedia/gstreamer-plugins/files/patch-sys_xvideo_gstxvimage.c
new file mode 100644
index 000000000..8f6af77b8
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-sys_xvideo_gstxvimage.c
@@ -0,0 +1,10 @@
+--- sys/xvideo/gstxvimage.c.orig Fri Jul 25 15:29:21 2003
++++ sys/xvideo/gstxvimage.c Fri Nov 14 16:27:24 2003
+@@ -42,6 +42,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <machine/param.h>
+ #include <sys/types.h>
+
+ #if defined (HAVE_IPC_H) && defined (HAVE_SHM_H) && defined (HAVE_XSHM_H)