Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 09:19:44 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304826 - head/graphics/libvisual04-plugins/files
Message-ID:  <201209250919.q8P9JiHp002110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209250919.q8P9JiHp002110>