diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-07-30 21:54:10 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-07-30 21:54:10 +0000 |
commit | 9e15fb5e05c86dc327ea46d0992a4440e9d6ca56 (patch) | |
tree | c5858ef5630919fce4c265c6c6e65235c070e4a5 /multimedia/gst-plugins | |
parent | c3bb963235b475ab37bc5f2f24ded4d7534bfb82 (diff) | |
download | pkgsrc-9e15fb5e05c86dc327ea46d0992a4440e9d6ca56.tar.gz |
Remove some C99isms; hopefully fixes build on NetBSD 1.6.2.
Addresses PR pkg/26479.
Diffstat (limited to 'multimedia/gst-plugins')
-rw-r--r-- | multimedia/gst-plugins/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gst-plugins/patches/patch-aa | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/multimedia/gst-plugins/distinfo b/multimedia/gst-plugins/distinfo index 4a6abc97c3e..33ff2a10129 100644 --- a/multimedia/gst-plugins/distinfo +++ b/multimedia/gst-plugins/distinfo @@ -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 --git a/multimedia/gst-plugins/patches/patch-aa b/multimedia/gst-plugins/patches/patch-aa new file mode 100644 index 00000000000..bf947bec27e --- /dev/null +++ b/multimedia/gst-plugins/patches/patch-aa @@ -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); |