xorgserver: Update xkbcomp-path patch

_XkbDupString was migrated to Xstrdup
This commit is contained in:
Shea Levy 2012-07-14 15:13:08 -04:00
parent 13c5b75b80
commit d6d6b623c9

View File

@ -9,7 +9,7 @@ diff -rc xorg-server-X11R7.2-1.2.0-orig/xkb/xkbInit.c xorg-server-X11R7.2-1.2.0/
}
+ char *xkbBinDir = getenv("XKB_BINDIR");
+ if (xkbBinDir)
+ XkbBinDirectory = _XkbDupString(xkbBinDir);
+ XkbBinDirectory = Xstrdup(xkbBinDir);
return 0;
}