summaryrefslogtreecommitdiff
path: root/multimedia/ming
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-10-16 07:06:28 +0000
committerobache <obache@pkgsrc.org>2009-10-16 07:06:28 +0000
commitb25d20cd119f078384cdbe8dd253dba84078097c (patch)
treeb6f7a8413ddc8c3da38fd0fe6cedca913d3da7cc /multimedia/ming
parent52eb818bafccfd4cf7b69382f8f98d8c523a80e2 (diff)
downloadpkgsrc-b25d20cd119f078384cdbe8dd253dba84078097c.tar.gz
void function cannot return value.
should fix build failure with SunPro CC.
Diffstat (limited to 'multimedia/ming')
-rw-r--r--multimedia/ming/distinfo3
-rw-r--r--multimedia/ming/patches/patch-ah16
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/ming/distinfo b/multimedia/ming/distinfo
index a250f946dda..ba98d4178ad 100644
--- a/multimedia/ming/distinfo
+++ b/multimedia/ming/distinfo
@@ -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-ad) = a5297b1f432e07acc0ef4da554a43f38f75edcf2
SHA1 (patch-ae) = ed8995b97a40f8f25c02b479bcc96f0e659e95df
SHA1 (patch-af) = bcde050efd4cea85b955486c6052fdde69e1c2e7
SHA1 (patch-ag) = e7feec74cf44571da2aff4d058253c87e9595575
+SHA1 (patch-ah) = 27c5ffc5dfd83bf3a06e64af887c9247b58b6235
diff --git a/multimedia/ming/patches/patch-ah b/multimedia/ming/patches/patch-ah
new file mode 100644
index 00000000000..aaf5200383e
--- /dev/null
+++ b/multimedia/ming/patches/patch-ah
@@ -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 );