diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-14 11:53:14 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-14 11:53:14 +0000 |
commit | 8e98e1f211632640a829df478399fd8fe5039088 (patch) | |
tree | 543c619afafa0d0f81932585693cc79bc6b3d2c5 /meta/packages/xorg-lib/libx11-git/fix-disable-xlocale.diff | |
parent | 13a115a1885b7f91437de0ad890996dd281f352e (diff) | |
download | openembedded-core-8e98e1f211632640a829df478399fd8fe5039088.tar.gz openembedded-core-8e98e1f211632640a829df478399fd8fe5039088.tar.bz2 openembedded-core-8e98e1f211632640a829df478399fd8fe5039088.zip |
libx11-diet: added GIT version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5500 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-lib/libx11-git/fix-disable-xlocale.diff')
-rw-r--r-- | meta/packages/xorg-lib/libx11-git/fix-disable-xlocale.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libx11-git/fix-disable-xlocale.diff b/meta/packages/xorg-lib/libx11-git/fix-disable-xlocale.diff new file mode 100644 index 0000000000..9dbf6dac68 --- /dev/null +++ b/meta/packages/xorg-lib/libx11-git/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; |