pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/ming void function cannot return value.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b450b86afa24
branches:  trunk
changeset: 400285:b450b86afa24
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Oct 16 07:06:28 2009 +0000

description:
void function cannot return value.
should fix build failure with SunPro CC.

diffstat:

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

diffs (34 lines):

diff -r de0903bb1764 -r b450b86afa24 multimedia/ming/distinfo
--- a/multimedia/ming/distinfo  Fri Oct 16 05:56:57 2009 +0000
+++ b/multimedia/ming/distinfo  Fri Oct 16 07:06:28 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/12/17 08:19:52 taca Exp $
+$NetBSD: distinfo,v 1.5 2009/10/16 07:06:28 obache Exp $
 
 SHA1 (ming-0.3.0.tar.gz) = 3920de3070fa66b26fe53765298175789aacdb70
 RMD160 (ming-0.3.0.tar.gz) = b41c93e28c221d9ae35666f34ca3ed37bbb0dfcb
@@ -10,3 +10,4 @@
 SHA1 (patch-ae) = ed8995b97a40f8f25c02b479bcc96f0e659e95df
 SHA1 (patch-af) = bcde050efd4cea85b955486c6052fdde69e1c2e7
 SHA1 (patch-ag) = e7feec74cf44571da2aff4d058253c87e9595575
+SHA1 (patch-ah) = 27c5ffc5dfd83bf3a06e64af887c9247b58b6235
diff -r de0903bb1764 -r b450b86afa24 multimedia/ming/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/ming/patches/patch-ah  Fri Oct 16 07:06:28 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.1 2009/10/16 07:06:28 obache Exp $
+
+void function cannot return value
+
+--- util/outputtxt.c.orig      2005-11-14 16:39:21.000000000 +0000
++++ util/outputtxt.c
+@@ -1127,7 +1127,8 @@ outputBlock (int type, SWF_Parserstruct 
+     {
+       if (outputs[i].type == type)
+       {
+-        return outputs[i].output (blockp);
++        outputs[i].output (blockp);
++        return;
+       }
+     }
+   printf("Unknown block type %d\n", type );



Home | Main Index | Thread Index | Old Index