1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Fix build with clang

PR:		158666
Submitted by:	Guido Falsi <mad@madpilot.net>
This commit is contained in:
Tilman Keskinoz 2011-07-14 14:03:26 +00:00
parent 5e4b1cdcc4
commit b80c8f019d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277699

View File

@ -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;