aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-07-14 22:03:26 +0800
committerarved <arved@FreeBSD.org>2011-07-14 22:03:26 +0800
commitcdee5415e8c4b42b23144ce71fb0e11cf0ef2da3 (patch)
tree237887156d08688800d3c14978a335936d6a93dc /x11
parente32f5118f36caec3b234cfedb53bfe7cad6c0b23 (diff)
downloadfreebsd-ports-gnome-cdee5415e8c4b42b23144ce71fb0e11cf0ef2da3.tar.gz
freebsd-ports-gnome-cdee5415e8c4b42b23144ce71fb0e11cf0ef2da3.tar.zst
freebsd-ports-gnome-cdee5415e8c4b42b23144ce71fb0e11cf0ef2da3.zip
Fix build with clang
PR: 158666 Submitted by: Guido Falsi <mad@madpilot.net>
Diffstat (limited to 'x11')
-rw-r--r--x11/xcolors/files/patch-xcolors.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/xcolors/files/patch-xcolors.c b/x11/xcolors/files/patch-xcolors.c
new file mode 100644
index 000000000000..b398df46a17a
--- /dev/null
+++ b/x11/xcolors/files/patch-xcolors.c
@@ -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;