[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] stubdom/newlib: Provide correct names for time.h timezone variables
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1275035185 -3600 # Node ID 0e0fa50e663b0561e439717af265ea2c6224d02b # Parent 01083ac776affba781dbfeeee12fffa0443710ea stubdom/newlib: Provide correct names for time.h timezone variables Newlib unaccountably defines _daylight, _timezone and _tzname, rather than daylight, timezone and tzname. The latter are specified in SuSv3. So do a global search and replace as part of our newlib patching :-(. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- stubdom/Makefile | 2 ++ 1 files changed, 2 insertions(+) diff -r 01083ac776af -r 0e0fa50e663b stubdom/Makefile --- a/stubdom/Makefile Fri May 28 09:25:34 2010 +0100 +++ b/stubdom/Makefile Fri May 28 09:26:25 2010 +0100 @@ -102,6 +102,8 @@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLI patch -d $@ -p0 < newlib.patch patch -d $@ -p0 < newlib-chk.patch patch -d $@ -p1 < newlib-stdint-size_max-fix-from-1.17.0.patch + find $@ -type f | xargs perl -i.bak \ + -pe 's/\b_(tzname|daylight|timezone)\b/$$1/g' touch $@ NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |