summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-09-11 10:28:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-06 16:45:21 +0000
commit0d9a0711d3eea18512e75d091f703dfb1a9091f0 (patch)
tree0bc492faca43ecb951724d0e4d71fab72eb212f9 /meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch
parentc60fa730075178d9bd2062ac4d1370b09d8fb11e (diff)
downloadpoky-0d9a0711d3eea18512e75d091f703dfb1a9091f0.tar.gz
texinfo: integrate texinfo 4.8
It is a GPLv2 package (From OE-Core rev: 8d33c091784675405fbe1c3e7c3a12cc82b800d1) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch')
-rw-r--r--meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch b/meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch
new file mode 100644
index 0000000000..4a8cc57a56
--- /dev/null
+++ b/meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch
@@ -0,0 +1,28 @@
1fix the macro check
2
3Upstream-status: Pending
4
5configure does not check if locale.h exists, but check setlocale,
6if setlocale exist, the locale.h should exist.
7
8Signed-off-by: Roy Li <rongqing.li@windriver.com>
9---
10 lib/system.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/lib/system.h b/lib/system.h
14index 946eb3c..c70037b 100644
15--- a/lib/system.h
16+++ b/lib/system.h
17@@ -42,7 +42,7 @@ extern char *substring (const char *, const char *);
18 #include <ctype.h>
19
20 /* All systems nowadays probably have these functions, but ... */
21-#ifdef HAVE_LOCALE_H
22+#ifdef HAVE_SETLOCALE
23 #include <locale.h>
24 #endif
25 #ifndef HAVE_SETLOCALE
26--
271.7.10.4
28