pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins Fix C99-isms to make this pkg b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c844fd7066f4
branches: trunk
changeset: 487571:c844fd7066f4
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sun Jan 16 22:54:37 2005 +0000
description:
Fix C99-isms to make this pkg build with gcc 2.95.
diffstat:
multimedia/gst-plugins/distinfo | 3 ++-
multimedia/gst-plugins/patches/patch-ab | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (38 lines):
diff -r bd54ac969850 -r c844fd7066f4 multimedia/gst-plugins/distinfo
--- a/multimedia/gst-plugins/distinfo Sun Jan 16 22:40:43 2005 +0000
+++ b/multimedia/gst-plugins/distinfo Sun Jan 16 22:54:37 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2005/01/06 11:25:10 jmmv Exp $
+$NetBSD: distinfo,v 1.15 2005/01/16 22:54:37 kristerw Exp $
SHA1 (gst-plugins-0.8.7.tar.bz2) = fbfb1a23ef805e58f5617649590d065440470628
Size (gst-plugins-0.8.7.tar.bz2) = 2134878 bytes
SHA1 (patch-aa) = c9173d53f594236f114cb5356aca79f41e13240b
+SHA1 (patch-ab) = f7e6c495ebcddb49f9e01ff6de36ed11c6d98dd5
SHA1 (patch-ae) = d51997b93689753fa0a34eec21ac14dc22af7500
diff -r bd54ac969850 -r c844fd7066f4 multimedia/gst-plugins/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins/patches/patch-ab Sun Jan 16 22:54:37 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.7 2005/01/16 22:54:37 kristerw Exp $
+
+--- gst/tta/gstttaparse.c.orig Sun Jan 16 23:27:29 2005
++++ gst/tta/gstttaparse.c Sun Jan 16 23:28:36 2005
+@@ -161,12 +161,13 @@
+ switch (GST_EVENT_TYPE (event)) {
+ case GST_EVENT_SEEK:
+ {
++ GstEvent *seek_event;
++ guint64 time, seek_frame, seekpos;
+ if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) {
+ GST_DEBUG_OBJECT (ttaparse, "got seek event");
+- GstEvent *seek_event;
+- guint64 time = GST_EVENT_SEEK_OFFSET (event);
+- guint64 seek_frame = time / (FRAME_TIME * 1000000000);
+- guint64 seekpos = ttaparse->index[seek_frame].pos;
++ time = GST_EVENT_SEEK_OFFSET (event);
++ seek_frame = time / (FRAME_TIME * 1000000000);
++ seekpos = ttaparse->index[seek_frame].pos;
+
+ GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos);
+ seek_event =
Home |
Main Index |
Thread Index |
Old Index