svn commit: r304826 - head/graphics/libvisual04-plugins/files
Dima Panov
fluffy at FreeBSD.org
Tue Sep 25 09:19:44 UTC 2012
Author: fluffy
Date: Tue Sep 25 09:19:43 2012
New Revision: 304826
URL: http://svn.freebsd.org/changeset/ports/304826
Log:
- Fix mistyped return statements, which clang objects strenuously to
PR: 171892
Submitted by: myself
Approved by: bkoenig AT alpha-tierchen DOT de (maintainer)
Obtained from: PkgSrc
Added:
head/graphics/libvisual04-plugins/files/
head/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c (contents, props changed)
Added: head/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c Tue Sep 25 09:19:43 2012 (r304826)
@@ -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);
More information about the svn-ports-head
mailing list