mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
d6d6b623c9
_XkbDupString was migrated to Xstrdup
16 lines
494 B
Diff
16 lines
494 B
Diff
diff -rc xorg-server-X11R7.2-1.2.0-orig/xkb/xkbInit.c xorg-server-X11R7.2-1.2.0/xkb/xkbInit.c
|
|
*** xorg-server-X11R7.2-1.2.0-orig/xkb/xkbInit.c Tue Jan 23 04:13:16 2007
|
|
--- xorg-server-X11R7.2-1.2.0/xkb/xkbInit.c Fri Mar 30 00:52:53 2007
|
|
***************
|
|
*** 923,928 ****
|
|
--- 923,931 ----
|
|
XkbDfltRepeatInterval = (long)atoi(argv[i]);
|
|
return 2;
|
|
}
|
|
+ char *xkbBinDir = getenv("XKB_BINDIR");
|
|
+ if (xkbBinDir)
|
|
+ XkbBinDirectory = Xstrdup(xkbBinDir);
|
|
return 0;
|
|
}
|
|
|