diff options
author | Raymond Danks <raymond@edanks.com> | 2006-07-24 19:46:41 +0000 |
---|---|---|
committer | Raymond Danks <raymond@edanks.com> | 2006-07-24 19:46:41 +0000 |
commit | dd0c887b669ed5f2fdfa21118f4b32d096e92816 (patch) | |
tree | 52a9bb766480ea9983a6e3e5d4ae600e0a482f2c /packages/xorg-lib/diet-x11/fix-disable-xlocale.diff | |
parent | b88c8ee5fdd3c5bda8a7fea778c3d7b09b180622 (diff) |
xorg-*: Massive rename to conform to X11R7.x_a.b.c versioning and xorg-* directory structure.
This is the first step for the update to X11R7.1.
This will not build and will be followed by more patches and updates.
Diffstat (limited to 'packages/xorg-lib/diet-x11/fix-disable-xlocale.diff')
-rw-r--r-- | packages/xorg-lib/diet-x11/fix-disable-xlocale.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/xorg-lib/diet-x11/fix-disable-xlocale.diff b/packages/xorg-lib/diet-x11/fix-disable-xlocale.diff new file mode 100644 index 0000000000..9dbf6dac68 --- /dev/null +++ b/packages/xorg-lib/diet-x11/fix-disable-xlocale.diff @@ -0,0 +1,14 @@ +--- libX11-X11R7.0-1.0.0/src/Font.c.orig 2006-03-12 18:35:42.000000000 +0100 ++++ libX11-X11R7.0-1.0.0/src/Font.c 2006-03-12 18:40:27.000000000 +0100 +@@ -701,7 +701,11 @@ + } + if (l - 2 - (p - charset) < 0) + return 0; ++#ifdef XLOCALE + if (_XlcNCompareISOLatin1(name + l - 2 - (p - charset), charset, p - charset)) ++#else ++ if (strncasecmp(name + l - 2 - (p - charset), charset, p - charset)) ++#endif + return 0; + if (strlen(p + 1) + l - 1 >= sizeof(buf) - 1) + return 0; |