aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins80
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2005-09-11 04:03:48 +0800
committerkwm <kwm@FreeBSD.org>2005-09-11 04:03:48 +0800
commit21facee983c29ee4bfc0f8fbaa19dedf74ef3d93 (patch)
tree988b662e0ff7e4cdf7e9125f66b620daeb93a4e1 /multimedia/gstreamer-plugins80
parent1b3d86f9d41e86ddfcee19a2a6f5b6fd3a776c45 (diff)
downloadfreebsd-ports-graphics-21facee983c29ee4bfc0f8fbaa19dedf74ef3d93.tar.gz
freebsd-ports-graphics-21facee983c29ee4bfc0f8fbaa19dedf74ef3d93.tar.zst
freebsd-ports-graphics-21facee983c29ee4bfc0f8fbaa19dedf74ef3d93.zip
Fix build of pango, gnomevfs, polypaudio and ogg plugins on 4.x
Submitted by: pointyhat via kris Approved by: maintainer (implicit)
Diffstat (limited to 'multimedia/gstreamer-plugins80')
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-gcc29577
1 files changed, 77 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins80/files/patch-gcc295 b/multimedia/gstreamer-plugins80/files/patch-gcc295
new file mode 100644
index 00000000000..a7a8491067c
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-gcc295
@@ -0,0 +1,77 @@
+--- ext/polyp/polypsink.c.orig Sat Sep 10 19:39:39 2005
++++ ext/polyp/polypsink.c Sat Sep 10 19:40:17 2005
+@@ -48,18 +48,6 @@
+ "width = (int) 16, "
+ "depth = (int) 16, "
+ "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 16 ]"
+-#if 0
+- ";audio/x-raw-float, "
+- "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
+- "width = (int) 32, "
+- "rate = (int) [ 1, MAX ], "
+- "channels = (int) [ 1, 16 ];"
+- "audio/x-raw-int, "
+- "signed = (boolean) FALSE, "
+- "width = (int) 8, "
+- "depth = (int) 8, "
+- "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 16 ]"
+-#endif
+ )
+ );
+
+--- ext/pango/gsttextrender.c.orig Sat Sep 10 19:41:24 2005
++++ ext/pango/gsttextrender.c Sat Sep 10 19:41:58 2005
+@@ -251,6 +251,7 @@
+ GstTextRender *overlay = GST_TEXT_RENDER (gst_pad_get_parent (pad));
+ guint size = GST_BUFFER_SIZE (buf);
+ guint8 *data = GST_BUFFER_DATA (buf);
++ gint n;
+
+ /* somehow pango barfs over "\0" buffers... */
+ while (size > 0 &&
+@@ -274,7 +275,6 @@
+ gst_buffer_stamp (out, GST_BUFFER (buf));
+ // gst_buffer_stamp (out, buf);
+ data = GST_BUFFER_DATA (out);
+- gint n;
+
+ for (n = 0; n < overlay->width * overlay->height; n++) {
+ data[n * 4] = 0;
+--- ext/ogg/gstoggparse.c.orig Sat Sep 10 19:43:13 2005
++++ ext/ogg/gstoggparse.c Sat Sep 10 19:44:04 2005
+@@ -365,6 +365,7 @@
+ guint32 serialno;
+ GstBuffer *pagebuffer;
+ GstClockTime buffertimestamp = GST_BUFFER_TIMESTAMP (buffer);
++ page_type type;
+
+ ogg = GST_OGG_PARSE (GST_OBJECT_PARENT (pad));
+
+@@ -464,7 +465,7 @@
+
+ ogg->last_page_not_bos = TRUE;
+
+- page_type type = gst_ogg_parse_is_header (ogg, stream, &page);
++ type = gst_ogg_parse_is_header (ogg, stream, &page);
+
+ if (type == PAGE_PENDING && ogg->in_headers) {
+ gst_buffer_ref (pagebuffer);
+--- ext/gnomevfs/gstgnomevfssrc.c.orig Sat Sep 10 19:44:44 2005
++++ ext/gnomevfs/gstgnomevfssrc.c Sat Sep 10 19:45:15 2005
+@@ -1114,6 +1114,7 @@
+ GstBuffer *buf;
+ GnomeVFSFileSize readbytes;
+ guint8 *data;
++ GstEvent *event;
+
+ g_return_val_if_fail (pad != NULL, NULL);
+ src = GST_GNOMEVFSSRC (gst_pad_get_parent (pad));
+@@ -1132,7 +1133,7 @@
+ /* deal with tag list */
+ if (src->icy_taglist) {
+ gst_element_found_tags (GST_ELEMENT (src), src->icy_taglist);
+- GstEvent *event = gst_event_new_tag (src->icy_taglist);
++ event = gst_event_new_tag (src->icy_taglist);
+
+ gst_object_ref (GST_OBJECT (src));
+ event->src = GST_OBJECT (src);