|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 03/14] stubdom/newlib: Provide correct names for time
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(+), 0 deletions(-)
diff --git a/stubdom/Makefile b/stubdom/Makefile
index 43e8e92..cd18b99 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -102,6 +102,8 @@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
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
--
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] libxl: Fix up some incorrect printf formats, (continued)
[Xen-devel] Re: [PATCH 00/14] Logging cleanups, libxc API change, Ian Jackson
[Xen-devel] [PATCH 00/14] Logging cleanups, libxc API change, Ian Jackson
- [Xen-devel] [PATCH 01/14] xl: Combine headers into one header file., Ian Jackson
- [Xen-devel] [PATCH 02/14] xl: Move "extern" declarations to xl.h, Ian Jackson
- [Xen-devel] [PATCH 03/14] stubdom/newlib: Provide correct names for time.h timezone variables,
Ian Jackson <=
- [Xen-devel] [PATCH 04/14] libxc: xc_domain_save.c: rename "write_exact" macro, Ian Jackson
- [Xen-devel] [PATCH 05/14] libelf: Tidy up logging and remove dependency on stdio., Ian Jackson
- [Xen-devel] [PATCH 06/14] xtl: New xentoollog mini-library., Ian Jackson
- Message not available
- [Xen-devel] [PATCH 08/14] libxc: Use new DBGPRINTF for a few debugging output messages, Ian Jackson
- [Xen-devel] [PATCH 09/14] libxl: Fix up some incorrect printf formats, Ian Jackson
- [Xen-devel] [PATCH 10/14] libxl: Use the caller's logger (xentoollog), Ian Jackson
- [Xen-devel] [PATCH 11/14] xl: Allow control of logging level., Ian Jackson
- [Xen-devel] [PATCH 12/14] libxc: save/restore error handling fixes, Ian Jackson
- [Xen-devel] [PATCH 13/14] libxc: remove \n from strings passed to PERROR, Ian Jackson
- [Xen-devel] [PATCH 14/14] xl/libxtl: Remove glitch in xl migrate log output, Ian Jackson
|
|
|
|
|