diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff b/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff new file mode 100644 index 0000000000..7dcdd6af22 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff | |||
@@ -0,0 +1,16 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | --- libX11-X11R7.0-1.0.0/src/Font.c.orig 2006-03-12 18:35:42.000000000 +0100 | ||
4 | +++ libX11-X11R7.0-1.0.0/src/Font.c 2006-03-12 18:40:27.000000000 +0100 | ||
5 | @@ -701,7 +701,11 @@ | ||
6 | } | ||
7 | if (l - 2 - (p - charset) < 0) | ||
8 | return 0; | ||
9 | +#ifdef XLOCALE | ||
10 | if (_XlcNCompareISOLatin1(name + l - 2 - (p - charset), charset, p - charset)) | ||
11 | +#else | ||
12 | + if (strncasecmp(name + l - 2 - (p - charset), charset, p - charset)) | ||
13 | +#endif | ||
14 | return 0; | ||
15 | if (strlen(p + 1) + l - 1 >= sizeof(buf) - 1) | ||
16 | return 0; | ||