summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch')
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch
new file mode 100644
index 0000000000..9e46dfa070
--- /dev/null
+++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch
@@ -0,0 +1,32 @@
1From 28b473c3c96682a820e292cc1be006e19aee11bc Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Fri, 24 May 2013 01:07:24 -0400
4Subject: [PATCH] lrzsz check locale.h
5
6fix the build failure when using -O0 in a debug build:
7lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function)
8
9Upstream-Status: Submitted [uwe@ohse.de]
10
11Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
12Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
13---
14 configure.in | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.in b/configure.in
18index 6e2064c..c10460c 100644
19--- a/configure.in
20+++ b/configure.in
21@@ -130,7 +130,7 @@ AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h unistd.h sys/times.h)
22 LRZSZ_HEADERS_TERM_IO
23 AC_CHECK_HEADERS(termios.h sys/termios.h termio.h sys/termio.h sgtty.h)
24 AC_CHECK_HEADERS(sys/mman.h utime.h syslog.h sys/syslog.h sys/param.h)
25-AC_CHECK_HEADERS(sys/select.h strings.h arpa/inet.h)
26+AC_CHECK_HEADERS(sys/select.h strings.h locale.h arpa/inet.h)
27
28 dnl Checks for typedefs, structures, and compiler characteristics.
29 AC_TYPE_SIZE_T
30--
311.7.9.5
32