- Add xen-no-array-bounds.patch and blktap-no-uninit.patch to selectively turn errors back to warnings to fix build with GCC 5. - Amend xen.stubdom.newlib.patch to pull in declaration of strcmp to avoid implicit-fortify-decl rpmlint error. - Fix quoting of __SMBIOS_DATE__ in xen.build-compare.smbiosdate.patch. OBS-URL: https://build.opensuse.org/request/show/294943 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=357
21 lines
803 B
Diff
21 lines
803 B
Diff
--- xen-4.5.0-testing/tools/blktap/drivers/Makefile.orig 2015-04-08 09:20:08.817373085 +0000
|
|
+++ xen-4.5.0-testing/tools/blktap/drivers/Makefile 2015-04-08 09:20:55.738897365 +0000
|
|
@@ -6,6 +6,7 @@
|
|
|
|
CFLAGS += -Werror
|
|
CFLAGS += -Wno-unused
|
|
+CFLAGS += -Wno-error=maybe-uninitialized
|
|
CFLAGS += -I../lib
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
CFLAGS += $(CFLAGS_libxenstore)
|
|
--- xen-4.5.0-testing/tools/blktap2/drivers/Makefile.orig 2015-04-08 11:25:54.974241326 +0200
|
|
+++ xen-4.5.0-testing/tools/blktap2/drivers/Makefile 2015-04-08 11:26:10.150411238 +0200
|
|
@@ -11,6 +11,7 @@
|
|
|
|
CFLAGS += -Werror
|
|
CFLAGS += -Wno-unused
|
|
+CFLAGS += -Wno-error=array-bounds
|
|
CFLAGS += -fno-strict-aliasing
|
|
CFLAGS += -I$(BLKTAP_ROOT)/include -I$(BLKTAP_ROOT)/drivers
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|