aboutsummaryrefslogtreecommitdiffstats
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:41:36 +0000
commit8d33c091784675405fbe1c3e7c3a12cc82b800d1 (patch)
tree02cd67a780be21915be08e4f0c5ae2db247ba319 /meta/recipes-extended/texinfo/texinfo-4.8/check-locale-h.patch
parent1cb62dbb1ecedc6232be3509a2887e92def2b8db (diff)
downloadopenembedded-core-contrib-8d33c091784675405fbe1c3e7c3a12cc82b800d1.tar.gz
texinfo: integrate texinfo 4.8
It is a GPLv2 package Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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 @@
+fix the macro check
+
+Upstream-status: Pending
+
+configure does not check if locale.h exists, but check setlocale,
+if setlocale exist, the locale.h should exist.
+
+Signed-off-by: Roy Li <rongqing.li@windriver.com>
+---
+ lib/system.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/system.h b/lib/system.h
+index 946eb3c..c70037b 100644
+--- a/lib/system.h
++++ b/lib/system.h
+@@ -42,7 +42,7 @@ extern char *substring (const char *, const char *);
+ #include <ctype.h>
+
+ /* All systems nowadays probably have these functions, but ... */
+-#ifdef HAVE_LOCALE_H
++#ifdef HAVE_SETLOCALE
+ #include <locale.h>
+ #endif
+ #ifndef HAVE_SETLOCALE
+--
+1.7.10.4
+