Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-4.11
xen
xen.00d21a3c3c7f742e674458b70553a22eae289fdf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.00d21a3c3c7f742e674458b70553a22eae289fdf.patch of Package xen
From: Doug Goldstein <cardoe@cardoe.com> Date: Mon, 9 Jul 2018 12:05:46 -0500 Subject: 00d21a3c3c7f742e674458b70553a22eae289fdf stubdom: disable newlib's need for texinfo newlib has a hardcoded dependency on texinfo, which in turn means that Xen has this dependency when building the stub domains. The files that newlib generates are never used or exposed by the Xen build system so its really a wasted effort to require a heavy (size wise) package for the build of something that's thrown away. Instead of adding it as a requirement this patches out the code path in newlib that uses it so that the files are never generated. Signed-off-by: Doug Goldstein <cardoe@cardoe.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> --- stubdom/Makefile | 1 + stubdom/newlib-disable-texinfo.patch | 13 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 stubdom/newlib-disable-texinfo.patch --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -78,24 +78,25 @@ endif ############## # Cross-newlib ############## newlib-$(NEWLIB_VERSION).tar.gz: $(FETCHER) $@ $(NEWLIB_URL)/$@ newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz tar xzf $< patch -d $@ -p0 < newlib.patch patch -d $@ -p0 < newlib-chk.patch patch -d $@ -p1 < newlib-stdint-size_max-fix-from-1.17.0.patch + patch -d $@ -p1 < newlib-disable-texinfo.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 .PHONY: cross-newlib cross-newlib: $(NEWLIB_STAMPFILE) $(NEWLIB_STAMPFILE): mk-headers-$(XEN_TARGET_ARCH) newlib-$(NEWLIB_VERSION) mkdir -p newlib-$(XEN_TARGET_ARCH) ( cd newlib-$(XEN_TARGET_ARCH) && \ CC_FOR_TARGET="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS)" AR_FOR_TARGET=$(AR) LD_FOR_TARGET=$(LD) RANLIB_FOR_TARGET=$(RANLIB) ../newlib-$(NEWLIB_VERSION)/configure --prefix=$(CROSS_PREFIX) --verbose --target=$(GNU_TARGET_ARCH)-xen-elf --enable-newlib-io-long-long --disable-multilib && \ $(MAKE) DESTDIR= && \ new file mode 100644 --- /dev/null +++ b/stubdom/newlib-disable-texinfo.patch @@ -0,0 +1,13 @@ +--- a/etc/Makefile.in 2007-03-27 13:09:32.000000000 -0500 ++++ b/etc/Makefile.in 2018-07-09 11:08:50.294183081 -0500 +@@ -63,8 +63,8 @@ + PDFFILES = standards.pdf configure.pdf + HTMLFILES = standards.html configure.html + +-all: info +-install: install-info ++all: ++install: + + uninstall: +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor