aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-06-03 23:40:17 +0800
committerkwm <kwm@FreeBSD.org>2005-06-03 23:40:17 +0800
commit2a3e0c17480ca1e57c3317f484b22d351b2d10bc (patch)
treee710b965bb12aec29497cbe71eb0a7d2019e3846 /multimedia/gstreamer-plugins80
parentaed56d31e9348cc583c835f9f34f648d7885cd34 (diff)
downloadfreebsd-ports-graphics-2a3e0c17480ca1e57c3317f484b22d351b2d10bc.tar.gz
freebsd-ports-graphics-2a3e0c17480ca1e57c3317f484b22d351b2d10bc.tar.zst
freebsd-ports-graphics-2a3e0c17480ca1e57c3317f484b22d351b2d10bc.zip
Fix the build of gstreamer-plugins and the cdparanoia plugin on 4.x.
Approved by: maintainer (implicit)
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c18
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-gst_librfb_gstrfbsrc.c10
2 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c b/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c
new file mode 100644
index 00000000000..17e8469ad89
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-ext_cdparanoia_gstcdparanoia.c
@@ -0,0 +1,18 @@
+--- ext/cdparanoia/gstcdparanoia.c.orig Fri Jun 3 06:59:43 2005
++++ ext/cdparanoia/gstcdparanoia.c Fri Jun 3 07:00:13 2005
+@@ -561,6 +561,7 @@
+ gint16 *cdda_buf;
+ gint64 timestamp;
+ GstFormat format;
++ GstEvent *discont_ev;
+
+ /* convert the sequence sector number to a timestamp */
+ format = GST_FORMAT_TIME;
+@@ -574,7 +575,6 @@
+ gst_pad_convert (src->srcpad, sector_format,
+ get_relative (src, src->cur_track, src->cur_sector), &format,
+ &timestamp);
+- GstEvent *discont_ev;
+
+ if (src->flush_pending) {
+ src->flush_pending = FALSE;
diff --git a/multimedia/gstreamer-plugins80/files/patch-gst_librfb_gstrfbsrc.c b/multimedia/gstreamer-plugins80/files/patch-gst_librfb_gstrfbsrc.c
new file mode 100644
index 00000000000..e83f136502c
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-gst_librfb_gstrfbsrc.c
@@ -0,0 +1,10 @@
+--- gst/librfb/gstrfbsrc.c.orig Fri Jun 3 06:06:43 2005
++++ gst/librfb/gstrfbsrc.c Fri Jun 3 06:08:21 2005
+@@ -28,6 +28,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <sys/time.h>
+
+ #include <librfb/rfb.h>
+