From: Jakub Bogusz Date: Sun, 12 Jun 2022 20:53:06 +0000 (+0200) Subject: - updated gcc10 patch X-Git-Tag: auto/th/xen-4.15.2-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fxen.git;a=commitdiff_plain;h=a234ed8 - updated gcc10 patch --- diff --git a/gcc10.patch b/gcc10.patch index 03f8278..c07a482 100644 --- a/gcc10.patch +++ b/gcc10.patch @@ -6,31 +6,3 @@ CFLAGS += -DCONSOLE_SERIAL=1 + +CFLAGS += -Wno-error=enum-conversion -Wno-error=maybe-uninitialized ---- xen-4.13.1/stubdom/vtpmmgr/vtpmmgr.h.orig 2020-06-07 18:20:43.261215712 +0200 -+++ xen-4.13.1/stubdom/vtpmmgr/vtpmmgr.h 2020-06-07 18:20:56.731170041 +0200 -@@ -50,11 +50,6 @@ - #define RSA_KEY_SIZE 0x0800 - #define RSA_CIPHER_SIZE (RSA_KEY_SIZE / 8) - --enum { -- TPM1_HARDWARE = 1, -- TPM2_HARDWARE, --} tpm_version; -- - struct tpm_hardware_version { - int hw_version; - }; ---- xen-4.13.1/stubdom/vtpmmgr/vtpmmgr.c~ 2020-05-14 14:19:32.000000000 +0200 -+++ xen-4.13.1/stubdom/vtpmmgr/vtpmmgr.c 2020-06-07 18:23:14.950766928 +0200 -@@ -45,6 +45,11 @@ - #include "vtpmmgr.h" - #include "tcg.h" - -+enum { -+ TPM1_HARDWARE = 1, -+ TPM2_HARDWARE, -+} tpm_version; -+ - struct tpm_hardware_version hardware_version = { - .hw_version = TPM1_HARDWARE, - };