pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-ugly Added a patch for ISO ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b2ced4d779f
branches:  trunk
changeset: 511402:6b2ced4d779f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Apr 13 22:09:16 2006 +0000

description:
Added a patch for ISO C90 compatibility, which allows the "mad" plugin to
be built on NetBSD 1.6.2.

diffstat:

 multimedia/gst-plugins0.10-ugly/distinfo             |   3 ++-
 multimedia/gst-plugins0.10-ugly/patches/patch-gstmad |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r e4de9215828d -r 6b2ced4d779f multimedia/gst-plugins0.10-ugly/distinfo
--- a/multimedia/gst-plugins0.10-ugly/distinfo  Thu Apr 13 21:45:12 2006 +0000
+++ b/multimedia/gst-plugins0.10-ugly/distinfo  Thu Apr 13 22:09:16 2006 +0000
@@ -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 -r e4de9215828d -r 6b2ced4d779f multimedia/gst-plugins0.10-ugly/patches/patch-gstmad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins0.10-ugly/patches/patch-gstmad      Thu Apr 13 22:09:16 2006 +0000
@@ -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);
+ 



Home | Main Index | Thread Index | Old Index