diff options
author | obache <obache> | 2009-10-16 07:06:28 +0000 |
---|---|---|
committer | obache <obache> | 2009-10-16 07:06:28 +0000 |
commit | 58a76c5233a11b66abdd3714fed49e5eaaec3ba8 (patch) | |
tree | b6f7a8413ddc8c3da38fd0fe6cedca913d3da7cc /multimedia | |
parent | e112ca27774333cef428e77b6968df9a0c9bbca8 (diff) | |
download | pkgsrc-58a76c5233a11b66abdd3714fed49e5eaaec3ba8.tar.gz |
void function cannot return value.
should fix build failure with SunPro CC.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ming/distinfo | 3 | ||||
-rw-r--r-- | multimedia/ming/patches/patch-ah | 16 |
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 ); |