pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins Remove some C99isms; hopefully ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58056305e4de
branches:  trunk
changeset: 478828:58056305e4de
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Fri Jul 30 21:54:10 2004 +0000

description:
Remove some C99isms; hopefully fixes build on NetBSD 1.6.2.
Addresses PR pkg/26479.

diffstat:

 multimedia/gst-plugins/distinfo         |   3 ++-
 multimedia/gst-plugins/patches/patch-aa |  25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 780c826f2366 -r 58056305e4de multimedia/gst-plugins/distinfo
--- a/multimedia/gst-plugins/distinfo   Fri Jul 30 21:44:43 2004 +0000
+++ b/multimedia/gst-plugins/distinfo   Fri Jul 30 21:54:10 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2004/06/28 17:45:56 jmmv Exp $
+$NetBSD: distinfo,v 1.9 2004/07/30 21:54:10 jmmv Exp $
 
 SHA1 (gst-plugins-0.8.2.tar.bz2) = 639a47d294ed9870662d4a2bb2f8d5bc484ad14a
 Size (gst-plugins-0.8.2.tar.bz2) = 1978467 bytes
+SHA1 (patch-aa) = 8ac5c538143e248e58e19c383b9f2c52a0d6a908
 SHA1 (patch-ae) = d51997b93689753fa0a34eec21ac14dc22af7500
diff -r 780c826f2366 -r 58056305e4de multimedia/gst-plugins/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins/patches/patch-aa   Fri Jul 30 21:54:10 2004 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.7 2004/07/30 21:54:10 jmmv Exp $
+
+--- ext/vorbis/vorbisparse.c.orig      2004-06-08 13:53:13.000000000 +0200
++++ ext/vorbis/vorbisparse.c
+@@ -103,6 +103,9 @@ static void
+ vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
+ {
+   GstBuffer *buf1, *buf2, *buf3;
++  GstStructure *structure;
++  GValue list = { 0 };
++  GValue value = { 0 };
+ 
+   g_assert (parse);
+   g_assert (parse->streamheader);
+@@ -115,9 +118,7 @@ vorbis_parse_set_header_on_caps (GstVorb
+   buf3 = parse->streamheader->next->next->data;
+   g_assert (buf3);
+ 
+-  GstStructure *structure = gst_caps_get_structure (caps, 0);
+-  GValue list = { 0 };
+-  GValue value = { 0 };
++  structure = gst_caps_get_structure (caps, 0);
+ 
+   /* mark buffers */
+   GST_BUFFER_FLAG_SET (buf1, GST_BUFFER_IN_CAPS);



Home | Main Index | Thread Index | Old Index