From 9980c00c132a720f278ee10069db60391b505039 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 10 Feb 2004 07:09:09 +0000 Subject: Fix crappy C code which breaks the build with GCC 2.95.3. --- multimedia/nautilus-media/distinfo | 3 ++- multimedia/nautilus-media/patches/patch-aa | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 multimedia/nautilus-media/patches/patch-aa 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) -- cgit v1.2.3