aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-05-15 02:54:42 -0700
committerDonnie Berkholz <dberkholz@gentoo.org>2008-05-15 02:54:42 -0700
commit393a185ae93b5c6989984407b84828890b321a4b (patch)
tree3be4d05456719a0f2cbc8d4faf9dc051b1ee58e7 /app-emulation/xen/files
parentbash: Add a revbump that installs examples with USE=examples. (diff)
downloaddberkholz-393a185ae93b5c6989984407b84828890b321a4b.tar.gz
dberkholz-393a185ae93b5c6989984407b84828890b321a4b.tar.bz2
dberkholz-393a185ae93b5c6989984407b84828890b321a4b.zip
xen: add version that compiles with gcc 4.3 --configured-with flag.
Diffstat (limited to 'app-emulation/xen/files')
-rw-r--r--app-emulation/xen/files/3.2.1-work-with-gcc-configured-with-flag.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/xen/files/3.2.1-work-with-gcc-configured-with-flag.patch b/app-emulation/xen/files/3.2.1-work-with-gcc-configured-with-flag.patch
new file mode 100644
index 0000000..904dda8
--- /dev/null
+++ b/app-emulation/xen/files/3.2.1-work-with-gcc-configured-with-flag.patch
@@ -0,0 +1,11 @@
+--- xen-3.2.1.orig/xen/Makefile 2008-05-15 02:50:45.000000000 -0700
++++ xen-3.2.1/xen/Makefile 2008-05-15 02:50:12.000000000 -0700
+@@ -102,7 +102,7 @@
+ -e 's/@@whoami@@/$(USER)/g' \
+ -e 's/@@domain@@/$(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown]))/g' \
+ -e 's/@@hostname@@/$(shell hostname)/g' \
+- -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) -v 2>&1 | grep -i "gcc.*version")!g' \
++ -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) -v 2>&1 | grep -i "gcc version")!g' \
+ -e 's/@@version@@/$(XEN_VERSION)/g' \
+ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
+ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \