summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-02-10 07:09:09 +0000
committertron <tron@pkgsrc.org>2004-02-10 07:09:09 +0000
commit9980c00c132a720f278ee10069db60391b505039 (patch)
tree8c7466e4578d562139164d3c092ab87bd628aca5
parent297b4306ace0e63c22f5f527b50dfb6c59b8b855 (diff)
downloadpkgsrc-9980c00c132a720f278ee10069db60391b505039.tar.gz
Fix crappy C code which breaks the build with GCC 2.95.3.
-rw-r--r--multimedia/nautilus-media/distinfo3
-rw-r--r--multimedia/nautilus-media/patches/patch-aa16
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/nautilus-media/distinfo b/multimedia/nautilus-media/distinfo
index 123e1e35092..91cd364002b 100644
--- a/multimedia/nautilus-media/distinfo
+++ b/multimedia/nautilus-media/distinfo
@@ -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 --git a/multimedia/nautilus-media/patches/patch-aa b/multimedia/nautilus-media/patches/patch-aa
new file mode 100644
index 00000000000..0e25e4ccce3
--- /dev/null
+++ b/multimedia/nautilus-media/patches/patch-aa
@@ -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)