Fix the build of gstreamer-plugins and the cdparanoia plugin on 4.x.

Approved by:	maintainer (implicit)
This commit is contained in:
Koop Mast 2005-06-03 15:40:17 +00:00
parent ddad910315
commit ebcdc66a80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136734
4 changed files with 56 additions and 0 deletions

View file

@ -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;

View file

@ -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>

View file

@ -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;

View file

@ -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>