From b3de545def969efaf59c6e54ea601ff1e27ab49d Mon Sep 17 00:00:00 2001 From: Michael Young Date: Jan 29 2011 19:04:25 +0000 Subject: Temporarily turn off some compile options so it will build on rawhide --- diff --git a/localgcc46fix.patch b/localgcc46fix.patch new file mode 100644 index 0000000..e485c3b --- /dev/null +++ b/localgcc46fix.patch @@ -0,0 +1,11 @@ +--- xen-4.0.1/Config.mk.orig 2010-08-25 11:22:44.000000000 +0100 ++++ xen-4.0.1/Config.mk 2011-01-29 17:40:43.000000000 +0000 +@@ -135,6 +135,8 @@ + + LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) + CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i)) ++# temporary compile fix for rawhide ++CFLAGS += -Wunused-but-set-variable -Wno-error=unused-but-set-variable -Wuninitialized -Wno-error=uninitialized + + EMBEDDED_EXTRA_CFLAGS := -nopie -fno-stack-protector -fno-stack-protector-all + EMBEDDED_EXTRA_CFLAGS += -fno-exceptions diff --git a/xen.spec b/xen.spec index 91bb4c2..4e8392f 100644 --- a/xen.spec +++ b/xen.spec @@ -6,7 +6,7 @@ Summary: Xen is a virtual machine monitor Name: xen Version: 4.0.1 -Release: 7%{?dist} +Release: 8%{?dist} Group: Development/Libraries License: GPLv2+ and LGPLv2+ and BSD URL: http://xen.org/ @@ -45,6 +45,7 @@ Patch22: xen.xsave.disable.patch Patch23: grub-ext4-support.patch Patch24: xen.8259afix.patch Patch25: localcleanups.patch +Patch26: localgcc46fix.patch Patch100: xen-configure-xend.patch @@ -173,6 +174,7 @@ to build the xen packages. %patch22 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -p1 %patch100 -p1 @@ -528,6 +530,9 @@ rm -rf %{buildroot} %doc licensedir/* %changelog +* Sat Jan 29 2011 Michael Young - 4.0.1-8 +- Temporarily turn off some compile options so it will build on rawhide + * Fri Jan 28 2011 Michael Young - 4.0.1-7 - ghost directories in /var/run (#656724) - minor fixes to /usr/share/doc/xen-doc-4.?.?/misc/network_setup.txt (#653159)