summaryrefslogtreecommitdiff
path: root/audio/libvisual-plugins
diff options
context:
space:
mode:
authordholland <dholland>2011-08-28 23:56:07 +0000
committerdholland <dholland>2011-08-28 23:56:07 +0000
commitd8e2059414d354aa5d3ab31d87ba6773577be2a1 (patch)
tree0fb2ca84656a93244da9de511f63da70e45f2b90 /audio/libvisual-plugins
parentc7dd2f154e0fb7e26a084119e043fd29fab8379b (diff)
downloadpkgsrc-d8e2059414d354aa5d3ab31d87ba6773577be2a1.tar.gz
Fix mismatched return statements, which clang dislikes
Diffstat (limited to 'audio/libvisual-plugins')
-rw-r--r--audio/libvisual-plugins/distinfo3
-rw-r--r--audio/libvisual-plugins/patches/patch-plugins_morph_flash_morph__flash_c15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/libvisual-plugins/distinfo b/audio/libvisual-plugins/distinfo
index 00e08aafdec..ddf0826ce22 100644
--- a/audio/libvisual-plugins/distinfo
+++ b/audio/libvisual-plugins/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2009/05/18 04:33:28 dholland Exp $
+$NetBSD: distinfo,v 1.10 2011/08/28 23:56:07 dholland Exp $
SHA1 (libvisual-plugins-0.4.0.tar.gz) = 20490573c282d900ec0bd05133cb3707640254f5
RMD160 (libvisual-plugins-0.4.0.tar.gz) = f7a82f4a9e4dec3e877833612ece570ffbf2404d
@@ -9,3 +9,4 @@ SHA1 (patch-ac) = b431acd28d9ff7c8bf5a8655fe4969f08ad80772
SHA1 (patch-ad) = 9f9adc7bc9074b6474b83a245be67f1db753d645
SHA1 (patch-ae) = ce54b7682f0d7a184a15392ee8f3a7cd2510be13
SHA1 (patch-af) = 35e2b6517a7c7bd5605fd6593a113f184d8dc1b3
+SHA1 (patch-plugins_morph_flash_morph__flash_c) = 94d696aa43213fa43fb98a563cdc040d5fe9a92c
diff --git a/audio/libvisual-plugins/patches/patch-plugins_morph_flash_morph__flash_c b/audio/libvisual-plugins/patches/patch-plugins_morph_flash_morph__flash_c
new file mode 100644
index 00000000000..883f20405f2
--- /dev/null
+++ b/audio/libvisual-plugins/patches/patch-plugins_morph_flash_morph__flash_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-plugins_morph_flash_morph__flash_c,v 1.1 2011/08/28 23:56:07 dholland Exp $
+
+- fix mistyped return statements, which clang objects strenuously to
+
+--- plugins/morph/flash/morph_flash.c~ 2006-01-27 20:19:18.000000000 +0000
++++ plugins/morph/flash/morph_flash.c
+@@ -116,7 +116,7 @@ int lv_morph_flash_palette (VisPluginDat
+ FlashPrivate *priv = visual_object_get_private (VISUAL_OBJECT (plugin));
+
+ if (src1->pal == NULL || src2->pal == NULL)
+- return;
++ return 0;
+
+ if (rate < 0.5)
+ visual_palette_blend (pal, src1->pal, &priv->whitepal, rate * 2);