summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins0.10-good
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-30 21:20:42 +0000
committerrillig <rillig>2006-01-30 21:20:42 +0000
commit0fe537dc2448809a7415055ab8199ef30d616642 (patch)
tree837ddd72d8502f0ba354d74387b19ce95fe57fe6 /multimedia/gst-plugins0.10-good
parentc4819be63fd196ecaee8162b3786ba7de67e7c61 (diff)
downloadpkgsrc-0fe537dc2448809a7415055ab8199ef30d616642.tar.gz
Added some patches for ISO C90 compatibility.
Diffstat (limited to 'multimedia/gst-plugins0.10-good')
-rw-r--r--multimedia/gst-plugins0.10-good/distinfo6
-rw-r--r--multimedia/gst-plugins0.10-good/patches/patch-aa19
-rw-r--r--multimedia/gst-plugins0.10-good/patches/patch-ab21
-rw-r--r--multimedia/gst-plugins0.10-good/patches/patch-ac25
-rw-r--r--multimedia/gst-plugins0.10-good/patches/patch-ad19
5 files changed, 89 insertions, 1 deletions
diff --git a/multimedia/gst-plugins0.10-good/distinfo b/multimedia/gst-plugins0.10-good/distinfo
index cfa30526670..1bdf1b7e821 100644
--- a/multimedia/gst-plugins0.10-good/distinfo
+++ b/multimedia/gst-plugins0.10-good/distinfo
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.1 2006/01/25 19:51:55 wiz Exp $
+$NetBSD: distinfo,v 1.2 2006/01/30 21:20:42 rillig Exp $
SHA1 (gst-plugins-good-0.10.1.tar.bz2) = 2329914f69225fd91ec57839b68e7fc14177b00d
RMD160 (gst-plugins-good-0.10.1.tar.bz2) = 117858f7c9d7e223d80f180ed53b8f0d6cf9c0d4
Size (gst-plugins-good-0.10.1.tar.bz2) = 928881 bytes
+SHA1 (patch-aa) = 7b7c7cf0b7fa181c7181ee98728994328ffe0b9a
+SHA1 (patch-ab) = e776c564650a9f4944a5a8f5e569917d4306d931
+SHA1 (patch-ac) = 8dbcc89f4755009bf40eab293fe2422458f80c79
+SHA1 (patch-ad) = 558c51bf59be1239a27af665e76bc0e4ea8a6f24
diff --git a/multimedia/gst-plugins0.10-good/patches/patch-aa b/multimedia/gst-plugins0.10-good/patches/patch-aa
new file mode 100644
index 00000000000..2fbf742de6c
--- /dev/null
+++ b/multimedia/gst-plugins0.10-good/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2006/01/30 21:20:42 rillig Exp $
+
+Keywords: c90
+
+--- gst/avi/gstavidemux.c.orig 2006-01-10 15:01:55.000000000 +0100
++++ gst/avi/gstavidemux.c 2006-01-30 21:33:28.000000000 +0100
+@@ -2219,10 +2219,11 @@ swap_line (guint8 * d1, guint8 * d2, gui
+ static GstBuffer *
+ gst_avi_demux_invert (avi_stream_context * stream, GstBuffer * buf)
+ {
+- buf = gst_buffer_make_writable (buf);
+ gint y, h = stream->strf.vids->height, w = stream->strf.vids->width;
+ guint8 *tmp = NULL;
+
++ buf = gst_buffer_make_writable (buf);
++
+ if (GST_BUFFER_SIZE (buf) < (w * h)) {
+ GST_WARNING ("Buffer is smaller than reported Width x Height");
+ return buf;
diff --git a/multimedia/gst-plugins0.10-good/patches/patch-ab b/multimedia/gst-plugins0.10-good/patches/patch-ab
new file mode 100644
index 00000000000..cc18c41716e
--- /dev/null
+++ b/multimedia/gst-plugins0.10-good/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2006/01/30 21:20:42 rillig Exp $
+
+Keywords: c90
+
+--- gst/rtp/gstrtpmp4vdepay.c.orig 2006-01-10 15:01:57.000000000 +0100
++++ gst/rtp/gstrtpmp4vdepay.c 2006-01-30 21:34:26.000000000 +0100
+@@ -132,13 +132,12 @@ gst_rtp_mp4v_depay_setcaps (GstBaseRTPDe
+ GstRtpMP4VDepay *rtpmp4vdepay;
+ GstCaps *srccaps;
+ const gchar *str;
++ gint clock_rate = 90000; // default
+
+ rtpmp4vdepay = GST_RTP_MP4V_DEPAY (depayload);
+
+ structure = gst_caps_get_structure (caps, 0);
+
+- gint clock_rate = 90000; // default
+-
+ if (gst_structure_has_field (structure, "clock-rate")) {
+ gst_structure_get_int (structure, "clock-rate", &clock_rate);
+ }
diff --git a/multimedia/gst-plugins0.10-good/patches/patch-ac b/multimedia/gst-plugins0.10-good/patches/patch-ac
new file mode 100644
index 00000000000..106987cb999
--- /dev/null
+++ b/multimedia/gst-plugins0.10-good/patches/patch-ac
@@ -0,0 +1,25 @@
+$NetBSD: patch-ac,v 1.1 2006/01/30 21:20:42 rillig Exp $
+
+Keywords: c90
+
+--- gst/udp/gstdynudpsink.c.orig 2006-01-10 15:01:57.000000000 +0100
++++ gst/udp/gstdynudpsink.c 2006-01-30 21:35:15.000000000 +0100
+@@ -187,6 +187,8 @@ gst_dynudpsink_render (GstBaseSink * bsi
+ guint8 *data;
+ GstNetBuffer *netbuf;
+ struct sockaddr_in theiraddr;
++ guint16 destport;
++ guint32 destaddr;
+
+ memset (&theiraddr, 0, sizeof (theiraddr));
+
+@@ -203,9 +205,6 @@ gst_dynudpsink_render (GstBaseSink * bsi
+ data = GST_BUFFER_DATA (netbuf);
+
+ GST_DEBUG ("about to send %d bytes", size);
+- guint16 destport;
+- guint32 destaddr;
+-
+ // let's get the address from the netbuffer
+ gst_netaddress_get_ip4_address (&netbuf->to, &destaddr, &destport);
+
diff --git a/multimedia/gst-plugins0.10-good/patches/patch-ad b/multimedia/gst-plugins0.10-good/patches/patch-ad
new file mode 100644
index 00000000000..837bcc89f28
--- /dev/null
+++ b/multimedia/gst-plugins0.10-good/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2006/01/30 21:20:42 rillig Exp $
+
+Keywords: c90
+
+--- gst/udp/gstmultiudpsink.c.orig 2006-01-10 15:01:57.000000000 +0100
++++ gst/udp/gstmultiudpsink.c 2006-01-30 21:34:54.000000000 +0100
+@@ -462,10 +462,10 @@ gst_multiudpsink_get_stats (GstMultiUDPS
+ find = g_list_find_custom (sink->clients, &udpclient,
+ (GCompareFunc) client_compare);
+ if (find) {
+- client = (GstUDPClient *) find->data;
+-
+ GValue value = { 0 };
+
++ client = (GstUDPClient *) find->data;
++
+ /* Result is a value array of (bytes_sent, packets_sent,
+ * connect_time, disconnect_time), all as uint64 */
+ result = g_value_array_new (4);