Date: Tue, 5 Jul 2011 12:22:53 +0200 (CEST) From: Guido Falsi <mad@madpilot.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158666: x11/xcolors: Fix build with clang. Message-ID: <20110705102253.939E8154E@megatron.madpilot.net> Resent-Message-ID: <201107051030.p65AUEOI061820@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158666 >Category: ports >Synopsis: x11/xcolors: Fix build with clang. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 05 10:30:13 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Guido Falsi >Release: FreeBSD 8.2-STABLE amd64 >Organization: none >Environment: System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64 >Description: Fix build with clang on 9-CURRENT. Added file: files/patch-xcolors.c >How-To-Repeat: >Fix: diff -ruN xcolors.old/files/patch-xcolors.c xcolors/files/patch-xcolors.c --- xcolors.old/files/patch-xcolors.c 1970-01-01 01:00:00.000000000 +0100 +++ xcolors/files/patch-xcolors.c 2011-07-05 12:16:59.000000000 +0200 @@ -0,0 +1,11 @@ +--- xcolors.c.orig 1994-06-07 19:08:19.000000000 +0200 ++++ xcolors.c 2011-07-05 12:16:57.000000000 +0200 +@@ -315,7 +315,7 @@ + } + if (save_colorname[0] != '\0') /* skip first time through */ + if (!do_color(parent, save_colorname)) +- return; ++ return 0; + prev_r = r; + prev_g = g; + prev_b = b; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110705102253.939E8154E>