nixpkgs/pkgs/servers/x11/xorg/libxkbfile-clang36.patch
2015-03-24 20:54:47 -07:00

12 lines
365 B
Diff

--- 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) {