xen/xen-4.7.0-gcc-6.1.0.patch

24 lines
1.3 KiB
Diff

diff -Nru xen-4.7.0.orig/tools/firmware/etherboot/patches/series xen-4.7.0/tools/firmware/etherboot/patches/series
--- xen-4.7.0.orig/tools/firmware/etherboot/patches/series 2016-06-20 12:38:15.000000000 +0200
+++ xen-4.7.0/tools/firmware/etherboot/patches/series 2016-07-23 18:36:18.960739191 +0200
@@ -4,3 +4,4 @@
build_fix_3.patch
build-compare.patch
build_fix_4.patch
+xen-4.7.0-gcc-6.1.0.patch
diff -Nru xen-4.7.0.orig/tools/firmware/etherboot/patches/xen-4.7.0-gcc-6.1.0.patch xen-4.7.0/tools/firmware/etherboot/patches/xen-4.7.0-gcc-6.1.0.patch
--- xen-4.7.0.orig/tools/firmware/etherboot/patches/xen-4.7.0-gcc-6.1.0.patch 1970-01-01 01:00:00.000000000 +0100
+++ xen-4.7.0/tools/firmware/etherboot/patches/xen-4.7.0-gcc-6.1.0.patch 2016-07-23 18:23:50.625305190 +0200
@@ -0,0 +1,11 @@
+--- ipxe/src/Makefile.orig 2016-07-22 17:36:50.011196369 +0200
++++ ipxe/src/Makefile 2016-07-22 17:30:08.345532878 +0200
+@@ -165,7 +165,7 @@
+ CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR) \
+ -DVERSION_MINOR=$(VERSION_MINOR) \
+ -DVERSION_PATCH=$(VERSION_PATCH) \
+- -DVERSION=\"$(VERSION)\"
++ -DVERSION=\"$(VERSION)\" -Wno-error=nonnull-compare -Wno-error=unused-const-variable -Wno-error=shift-negative-value -Wno-error=array-bounds -Wno-error=tautological-compare
+ IDENT = '$(@F) $(VERSION) (GPL) ipxe.org'
+ version :
+ @$(ECHO) $(VERSION)