diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2012-09-25 09:19:43 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2012-09-25 09:19:43 +0000 |
commit | 85cf08f5208bdb988115d31578ed538451962e21 (patch) | |
tree | 937e4ed4ad54423b281d441df2061fa73c731457 /graphics/libvisual04-plugins | |
parent | 4a0a667429d4a175ffb70c0137499278a1437ec0 (diff) | |
download | ports-85cf08f5208bdb988115d31578ed538451962e21.tar.gz ports-85cf08f5208bdb988115d31578ed538451962e21.zip |
Notes
Diffstat (limited to 'graphics/libvisual04-plugins')
-rw-r--r-- | graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c b/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c new file mode 100644 index 000000000000..8e8523087e2b --- /dev/null +++ b/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c @@ -0,0 +1,13 @@ +- 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); |