diff options
author | rillig <rillig@pkgsrc.org> | 2006-04-13 22:09:16 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-04-13 22:09:16 +0000 |
commit | 7010c26000947c08391159ad7c91b65b2e8f0af7 (patch) | |
tree | f133c631768fcec2f0a231f5c76ecd8903786eb9 /multimedia | |
parent | 0719006c41c5960c7848b1e488e9656d269e72f7 (diff) | |
download | pkgsrc-7010c26000947c08391159ad7c91b65b2e8f0af7.tar.gz |
Added a patch for ISO C90 compatibility, which allows the "mad" plugin to
be built on NetBSD 1.6.2.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins0.10-ugly/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins0.10-ugly/patches/patch-gstmad | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/gst-plugins0.10-ugly/distinfo b/multimedia/gst-plugins0.10-ugly/distinfo index dd1d2446664..e976695590f 100644 --- a/multimedia/gst-plugins0.10-ugly/distinfo +++ b/multimedia/gst-plugins0.10-ugly/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/04/08 11:42:37 jmmv Exp $ +$NetBSD: distinfo,v 1.2 2006/04/13 22:09:16 rillig Exp $ SHA1 (gst-plugins-ugly-0.10.3.tar.bz2) = 98c69c4feeee975fdbe829cf6534d6c12b960182 RMD160 (gst-plugins-ugly-0.10.3.tar.bz2) = 0ea0d039cf87ecf662655521b9dbca8c2a388412 Size (gst-plugins-ugly-0.10.3.tar.bz2) = 605833 bytes +SHA1 (patch-gstmad) = deb7218d649660c440671ee3753b38e51465fb65 diff --git a/multimedia/gst-plugins0.10-ugly/patches/patch-gstmad b/multimedia/gst-plugins0.10-ugly/patches/patch-gstmad new file mode 100644 index 00000000000..109ea0eec72 --- /dev/null +++ b/multimedia/gst-plugins0.10-ugly/patches/patch-gstmad @@ -0,0 +1,20 @@ +$NetBSD: patch-gstmad,v 1.1 2006/04/13 22:09:16 rillig Exp $ + +gcc 2.95 does not like code intermixed with declarations. + +--- ext/mad/gstmad.c.orig 2006-03-28 20:58:46.000000000 +0200 ++++ ext/mad/gstmad.c 2006-04-14 00:02:07.000000000 +0200 +@@ -710,11 +710,12 @@ index_seek (GstMad * mad, GstPad * pad, + }; + const GstFormat *try_formats = try_all_formats; + const GstFormat *peer_formats; ++ GstIndexEntry *entry; + + gst_event_parse_seek (event, &rate, &format, &flags, + &cur_type, &cur, &stop_type, &stop); + +- GstIndexEntry *entry = gst_index_get_assoc_entry (mad->index, mad->index_id, ++ entry = gst_index_get_assoc_entry (mad->index, mad->index_id, + GST_INDEX_LOOKUP_BEFORE, 0, + format, cur); + |