Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 00:19:01 +1100 (VLAT)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bkoenig@alpha-tierchen.de
Subject:   ports/171892: graphics/libvisual04-plugins: unbreak with clang
Message-ID:  <201209231319.q8NDJ1RV067647@Beastie.Fluffy.Khv.RU>
Resent-Message-ID: <201209231330.q8NDU99K087197@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171892
>Category:       ports
>Synopsis:       graphics/libvisual04-plugins: unbreak with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 23 13:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 10.0-1000018-CURRENT amd64
>Organization:
Twilight Zone
>Environment:
System: FreeBSD Beastie.Fluffy.Khv.RU 10.0-1000018-CURRENT FreeBSD 10.0-1000018-CURRENT #0: Thu Sep 20 02:02:51 VLAT 2012 toor@Beastie.Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot amd64


	
>Description:
	fix mistyped return statements, which clang objects strenuously to
	
>How-To-Repeat:
	
>Fix:

	Fix obtained from PkgSrc
	

Index: graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c
===================================================================
RCS file: graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c
diff -N graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ graphics/libvisual04-plugins/files/patch-plugins_morph_flash_morph__flash.c	23 Sep 2012 13:08:54 -0000
@@ -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);


>Release-Note:
>Audit-Trail:
>Unformatted:



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