diff options
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-s01')
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-s01 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-s01 b/x11/XFree86-4-libraries/files/patch-s01 new file mode 100644 index 000000000000..fa7a41a83513 --- /dev/null +++ b/x11/XFree86-4-libraries/files/patch-s01 @@ -0,0 +1,13 @@ +--- programs/Xserver/xkb/xkbInit.c.orig Mon Oct 5 05:02:55 1998 ++++ programs/Xserver/xkb/xkbInit.c Tue May 23 16:52:19 2000 +@@ -910,7 +910,8 @@ + return 1; + } + else if (strncmp(argv[i], "-xkbmap", 7) == 0) { +- if(++i < argc) { ++ i++; ++ if ((i < argc) && (strlen(argv[i]) < PATH_MAX)) { + XkbInitialMap= argv[i]; + return 2; + } + |