summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-01-03 23:28:20 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-28 12:29:31 +0000
commitd7b8ad5c294e371eee7630840269a6df10511695 (patch)
tree6e3d3af850f79404e3bc388c96473e5167446dac /meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch
parentb71a16e8ac18b5633ac3a52c60ad78dde37ede7b (diff)
downloadpoky-d7b8ad5c294e371eee7630840269a6df10511695.tar.gz
eglibc: Upgrade recipes 2.16 -> 2.17
Drop patches that are applied upstream Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier Moving ports is no longer needed since ports is now part of libc proper Refresh tzselect-sh.patch to accomodate upstream changes C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch aarch64 support is already available in 2.17 hence drop the local patches (From OE-Core rev: 83b6fe6d91b924be5a7676e6ee973ce26b5eefc5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch b/meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch
new file mode 100644
index 0000000000..dc9949bec9
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.17/tzselect-awk.patch
@@ -0,0 +1,42 @@
1tzselect: workaround bug in busybox awk
2
3busybox's version of awk in version 1.20.2 and lower doesn't support
4escape sequences in conjunction with the -F option. Use -v FS= instead
5as a workaround until the bug is fixed.
6
7Reference:
8https://bugs.busybox.net/show_bug.cgi?id=5126
9
10Upstream-Status: Inappropriate [other]
11
12Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13
14--- libc/timezone/tzselect.ksh
15+++ libc/timezone/tzselect.ksh
16@@ -208,7 +208,7 @@ while
17 TZ_for_date=$TZ;;
18 *)
19 # Get list of names of countries in the continent or ocean.
20- countries=$($AWK -F'\t' \
21+ countries=$($AWK -v FS="\t" \
22 -v continent="$continent" \
23 -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
24 '
25@@ -252,7 +252,7 @@ while
26
27
28 # Get list of names of time zone rule regions in the country.
29- regions=$($AWK -F'\t' \
30+ regions=$($AWK -v FS="\t" \
31 -v country="$country" \
32 -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
33 '
34@@ -289,7 +289,7 @@ while
35 esac
36
37 # Determine TZ from country and region.
38- TZ=$($AWK -F'\t' \
39+ TZ=$($AWK -v FS="\t" \
40 -v country="$country" \
41 -v region="$region" \
42 -v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \