From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 23 13:30:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89C121065672 for ; Sun, 23 Sep 2012 13:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5244B8FC18 for ; Sun, 23 Sep 2012 13:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8NDU93F087198 for ; Sun, 23 Sep 2012 13:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8NDU99K087197; Sun, 23 Sep 2012 13:30:09 GMT (envelope-from gnats) Resent-Date: Sun, 23 Sep 2012 13:30:09 GMT Resent-Message-Id: <201209231330.q8NDU99K087197@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dima Panov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3EF9106566C for ; Sun, 23 Sep 2012 13:20:56 +0000 (UTC) (envelope-from fluffy@Fluffy.Khv.RU) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id E510A8FC0C for ; Sun, 23 Sep 2012 13:20:55 +0000 (UTC) Received: from Beastie.Fluffy.Khv.RU (host85.static2.l2tp.ttkdv.ru [46.38.1.85] (may be forged)) by ns.ael.RU (8.14.4/8.14.3/Fluffy/5.3) with ESMTP id q8NDJFSZ032435; Mon, 24 Sep 2012 00:19:16 +1100 (VLAT) (envelope-from fluffy@Fluffy.Khv.RU) Received: from Beastie.Fluffy.Khv.RU (localhost [127.0.0.1]) by Beastie.Fluffy.Khv.RU (8.14.5/8.14.5/Fluffy/5.4.1) with ESMTP id q8NDJ1Ab067648; Mon, 24 Sep 2012 00:19:02 +1100 (VLAT) (envelope-from fluffy@Fluffy.Khv.RU) Received: (from fluffy@localhost) by Beastie.Fluffy.Khv.RU (8.14.5/8.14.5/Submit) id q8NDJ1RV067647; Mon, 24 Sep 2012 00:19:01 +1100 (VLAT) (envelope-from fluffy) Message-Id: <201209231319.q8NDJ1RV067647@Beastie.Fluffy.Khv.RU> Date: Mon, 24 Sep 2012 00:19:01 +1100 (VLAT) From: Dima Panov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: bkoenig@alpha-tierchen.de Subject: ports/171892: graphics/libvisual04-plugins: unbreak with clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dima Panov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2012 13:30:09 -0000 >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: