diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2013-05-31 16:02:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-04 15:55:46 +0100 |
commit | a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199 (patch) | |
tree | 45b3bad81400157ec6a87659899806b7007a18af /meta/recipes-bsp | |
parent | 2aed8981e6fa9abd9b827d3f81ccb7023efefbc6 (diff) | |
download | poky-a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199.tar.gz |
lrzsz: check locale.h in configure1.5_M1.rc11.5_M1.final
fix the build failure:
lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function)
(From OE-Core rev: 8a2ac668d99f7d64c2acffc3a39cedb2d152be6e)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch | 32 | ||||
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 3 |
2 files changed, 34 insertions, 1 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 @@ | |||
1 | From 28b473c3c96682a820e292cc1be006e19aee11bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Fri, 24 May 2013 01:07:24 -0400 | ||
4 | Subject: [PATCH] lrzsz check locale.h | ||
5 | |||
6 | fix the build failure when using -O0 in a debug build: | ||
7 | lrz.c:284:13: error: 'LC_ALL' undeclared (first use in this function) | ||
8 | |||
9 | Upstream-Status: Submitted [uwe@ohse.de] | ||
10 | |||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
12 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
13 | --- | ||
14 | configure.in | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/configure.in b/configure.in | ||
18 | index 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 | -- | ||
31 | 1.7.9.5 | ||
32 | |||
diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 83a75e36cd..0147b3dc2f 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | |||
@@ -10,13 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | |||
10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" | 10 | file://src/lrz.c;beginline=1;endline=10;md5=5276956373ff7d8758837f6399a1045f" |
11 | SECTION = "console/network" | 11 | SECTION = "console/network" |
12 | DEPENDS = "" | 12 | DEPENDS = "" |
13 | PR = "r5" | 13 | PR = "r6" |
14 | 14 | ||
15 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ | 15 | SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ |
16 | file://autotools.patch \ | 16 | file://autotools.patch \ |
17 | file://makefile.patch \ | 17 | file://makefile.patch \ |
18 | file://gettext.patch \ | 18 | file://gettext.patch \ |
19 | file://lrzsz_fix_for_automake-1.12.patch \ | 19 | file://lrzsz_fix_for_automake-1.12.patch \ |
20 | file://lrzsz-check-locale.h.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" | 23 | SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" |