diff options
author | dholland <dholland@pkgsrc.org> | 2011-08-28 23:56:07 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-08-28 23:56:07 +0000 |
commit | 1c595935b63be10f93e2f2e667a3df3d0a1da013 (patch) | |
tree | 0fb2ca84656a93244da9de511f63da70e45f2b90 /audio/libvisual0.2-plugins | |
parent | 4e651a9810661400ec2acf26b1d447e45d2930c5 (diff) | |
download | pkgsrc-1c595935b63be10f93e2f2e667a3df3d0a1da013.tar.gz |
Fix mismatched return statements, which clang dislikes
Diffstat (limited to 'audio/libvisual0.2-plugins')
-rw-r--r-- | audio/libvisual0.2-plugins/distinfo | 3 | ||||
-rw-r--r-- | audio/libvisual0.2-plugins/patches/patch-plugins_morph_flash_morph__flash_c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/libvisual0.2-plugins/distinfo b/audio/libvisual0.2-plugins/distinfo index cc626bda356..e89dc8ac632 100644 --- a/audio/libvisual0.2-plugins/distinfo +++ b/audio/libvisual0.2-plugins/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2008/08/02 18:08:15 dholland Exp $ +$NetBSD: distinfo,v 1.3 2011/08/28 23:56:13 dholland Exp $ SHA1 (libvisual-plugins-0.2.0.tar.gz) = bc001f66b1c81b747bc06e3e09aaf71882c47370 RMD160 (libvisual-plugins-0.2.0.tar.gz) = 3f4835843e3719e6342a3b8f1478f89388423b37 @@ -6,3 +6,4 @@ Size (libvisual-plugins-0.2.0.tar.gz) = 1021051 bytes SHA1 (patch-aa) = 68ffdb6261aafa219df0e5c4d313fc7f865ae734 SHA1 (patch-ab) = 31a380ed59ed9eed1e5516c44fec54c1e7dcf25c SHA1 (patch-ac) = 2bb5757b041cd3161a77fa71f14628c9013c1298 +SHA1 (patch-plugins_morph_flash_morph__flash_c) = fc1cb75a68d98327d072182447aa8183940d5f61 diff --git a/audio/libvisual0.2-plugins/patches/patch-plugins_morph_flash_morph__flash_c b/audio/libvisual0.2-plugins/patches/patch-plugins_morph_flash_morph__flash_c new file mode 100644 index 00000000000..5fc770b0f9b --- /dev/null +++ b/audio/libvisual0.2-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:13 dholland Exp $ + +- fix mistyped return statements, which clang objects strenuously to + +--- plugins/morph/flash/morph_flash.c~ 2011-08-28 23:10:11.000000000 +0000 ++++ plugins/morph/flash/morph_flash.c +@@ -115,7 +115,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); |