summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-02-10 08:20:23 +0000
committerIan Delaney <idella4@gentoo.org>2013-02-10 08:20:23 +0000
commit71f0909be6272d79da292b06236db8acf432e3c2 (patch)
tree655fad11f9a34464d327866171157b9a266b20c4 /app-emulation/xen-pvgrub/files
parentCleanup masked package (diff)
downloadgentoo-2-71f0909be6272d79da292b06236db8acf432e3c2.tar.gz
gentoo-2-71f0909be6272d79da292b06236db8acf432e3c2.tar.bz2
gentoo-2-71f0909be6272d79da292b06236db8acf432e3c2.zip
Added -CC.patch offered, tested by, and thanks to, Tomoatsu Shimada, Bug #455196
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'app-emulation/xen-pvgrub/files')
-rw-r--r--app-emulation/xen-pvgrub/files/xen-4.2.1-CC.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/xen-pvgrub/files/xen-4.2.1-CC.patch b/app-emulation/xen-pvgrub/files/xen-4.2.1-CC.patch
new file mode 100644
index 000000000000..9280e38d9851
--- /dev/null
+++ b/app-emulation/xen-pvgrub/files/xen-4.2.1-CC.patch
@@ -0,0 +1,12 @@
+diff -ur xen-4.2.1.orig/stubdom/Makefile xen-4.2.1/stubdom/Makefile
+--- stubdom/Makefile 2012-12-17 23:00:06.000000000 +0800
++++ stubdom/Makefile 2013-02-10 16:01:01.883644638 +0800
+@@ -130,7 +130,7 @@
+ cross-zlib: $(ZLIB_STAMPFILE)
+ $(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE)
+ ( cd $< && \
+- CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
++ CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC="$(CC)" ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
+ $(MAKE) DESTDIR= libz.a && \
+ $(MAKE) DESTDIR= install )
+