pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/nautilus-media Fix crappy C code which brea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18aedb800af3
branches:  trunk
changeset: 468072:18aedb800af3
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Feb 10 07:09:09 2004 +0000

description:
Fix crappy C code which breaks the build with GCC 2.95.3.

diffstat:

 multimedia/nautilus-media/distinfo         |   3 ++-
 multimedia/nautilus-media/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r fa10543dde06 -r 18aedb800af3 multimedia/nautilus-media/distinfo
--- a/multimedia/nautilus-media/distinfo        Tue Feb 10 06:47:41 2004 +0000
+++ b/multimedia/nautilus-media/distinfo        Tue Feb 10 07:09:09 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/02/07 00:29:37 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2004/02/10 07:09:09 tron Exp $
 
 SHA1 (nautilus-media-0.3.3.1.tar.gz) = 027939f8826c9f99159c3d4d76af1f552b2a6739
 Size (nautilus-media-0.3.3.1.tar.gz) = 402888 bytes
+SHA1 (patch-aa) = 051e207922b284cb6b2873efa47575f1d522c74a
diff -r fa10543dde06 -r 18aedb800af3 multimedia/nautilus-media/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/nautilus-media/patches/patch-aa        Tue Feb 10 07:09:09 2004 +0000
@@ -0,0 +1,16 @@
+--- media-info/media-info.c.orig       Tue Aug 12 16:04:06 2003
++++ media-info/media-info.c    Tue Feb 10 07:55:54 2004
+@@ -258,10 +258,12 @@
+ gboolean
+ gst_media_info_read_idler (GstMediaInfo *info, GstMediaInfoStream **streamp)
+ {
++  GstMediaInfoPriv *priv;
++
+   /* if it's NULL then we're sure something went wrong higher up) */
+   if (info == NULL) return FALSE;
+ 
+-  GstMediaInfoPriv *priv = info->priv;
++  priv = info->priv;
+ 
+   g_assert (streamp != NULL);
+   switch (priv->state)



Home | Main Index | Thread Index | Old Index