[packages/xen/DEVEL-4.15] - updated gcc10 patch
qboosh
qboosh at pld-linux.org
Sun Jun 12 22:51:52 CEST 2022
commit a234ed8191066a3be1686119db9bb2056398f6bd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 12 22:53:06 2022 +0200
- updated gcc10 patch
gcc10.patch | 28 ----------------------------
1 file changed, 28 deletions(-)
---
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,
- };
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/a234ed8191066a3be1686119db9bb2056398f6bd
More information about the pld-cvs-commit
mailing list