summary refs log tree commit diff
path: root/pkgs/servers/x11/xorg/libxkbfile-clang36.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/x11/xorg/libxkbfile-clang36.patch')
-rw-r--r--pkgs/servers/x11/xorg/libxkbfile-clang36.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/servers/x11/xorg/libxkbfile-clang36.patch b/pkgs/servers/x11/xorg/libxkbfile-clang36.patch
new file mode 100644
index 000000000000..65bf2ea7437e
--- /dev/null
+++ b/pkgs/servers/x11/xorg/libxkbfile-clang36.patch
@@ -0,0 +1,11 @@
+--- libxkbfile-1.0.8/src/cout.c	2012-03-07 20:37:23.000000000 -0800
++++ libxkbfile-1.0.8/src/cout.c	2015-03-24 20:51:11.000000000 -0700
+@@ -45,7 +45,7 @@
+ {
+ register int i,nOut;
+ 
+-    if ((!xkb)||(!xkb->names)||(!xkb->names->vmods))
++    if ((!xkb)||(!xkb->names))
+ 	return False;
+     for (i=nOut=0;i<XkbNumVirtualMods;i++) {
+ 	if (xkb->names->vmods[i]!=None) {