d7b8ad5c29
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>
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
tzselect: workaround bug in busybox awk
|
|
|
|
busybox's version of awk in version 1.20.2 and lower doesn't support
|
|
escape sequences in conjunction with the -F option. Use -v FS= instead
|
|
as a workaround until the bug is fixed.
|
|
|
|
Reference:
|
|
https://bugs.busybox.net/show_bug.cgi?id=5126
|
|
|
|
Upstream-Status: Inappropriate [other]
|
|
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
|
|
--- libc/timezone/tzselect.ksh
|
|
+++ libc/timezone/tzselect.ksh
|
|
@@ -208,7 +208,7 @@ while
|
|
TZ_for_date=$TZ;;
|
|
*)
|
|
# Get list of names of countries in the continent or ocean.
|
|
- countries=$($AWK -F'\t' \
|
|
+ countries=$($AWK -v FS="\t" \
|
|
-v continent="$continent" \
|
|
-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
|
|
'
|
|
@@ -252,7 +252,7 @@ while
|
|
|
|
|
|
# Get list of names of time zone rule regions in the country.
|
|
- regions=$($AWK -F'\t' \
|
|
+ regions=$($AWK -v FS="\t" \
|
|
-v country="$country" \
|
|
-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
|
|
'
|
|
@@ -289,7 +289,7 @@ while
|
|
esac
|
|
|
|
# Determine TZ from country and region.
|
|
- TZ=$($AWK -F'\t' \
|
|
+ TZ=$($AWK -v FS="\t" \
|
|
-v country="$country" \
|
|
-v region="$region" \
|
|
-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
|