summaryrefslogtreecommitdiff
path: root/x11/libX11/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libX11/patches/patch-ao')
-rw-r--r--x11/libX11/patches/patch-ao15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/libX11/patches/patch-ao b/x11/libX11/patches/patch-ao
new file mode 100644
index 00000000000..f6a934cca99
--- /dev/null
+++ b/x11/libX11/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1 2008/07/24 01:07:31 bjs Exp $
+
+Warning fix.
+
+--- src/xlibi18n/lcWrap.c.orig 2008-03-06 15:45:06.000000000 -0500
++++ src/xlibi18n/lcWrap.c
+@@ -154,7 +154,7 @@ _XlcDefaultMapModifiers(
+ #ifdef WIN32
+ {
+ char *s;
+- for (s = mods; s = strchr(s, '@'); s++) {
++ for (s = mods; (s = strchr(s, '@')); s++) {
+ for (s++; *s && *s != '='; s++) {
+ if (*s == '#') {
+ *s = '=';