summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2020-09-23 11:23:38 +0000
committerprlw1 <prlw1@pkgsrc.org>2020-09-23 11:23:38 +0000
commitba934daaa94a55dd3796d717875b9f057b92b6b4 (patch)
treef28243b0fcfeee0fe70235456c767448a0fab9d4 /sysutils
parentec40c70d51f47cae1dee04430010be74f85e8434 (diff)
downloadpkgsrc-ba934daaa94a55dd3796d717875b9f057b92b6b4.tar.gz
ovmf: gcc9 build fix
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ovmf/distinfo3
-rw-r--r--sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/ovmf/distinfo b/sysutils/ovmf/distinfo
index e40cd154b85..cfaf40a9a14 100644
--- a/sysutils/ovmf/distinfo
+++ b/sysutils/ovmf/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.3 2019/02/19 16:45:45 ryoon Exp $
+$NetBSD: distinfo,v 1.4 2020/09/23 11:23:38 prlw1 Exp $
SHA1 (edk2-20181116.tar.gz) = 17a398f19f7633e4e6b1a7c40ff50509c2ee400c
RMD160 (edk2-20181116.tar.gz) = 7c3b4e4768a45bce7e19a0890de8a489164061ff
SHA512 (edk2-20181116.tar.gz) = 40e188c4b195a461d1f8890251470767b650e4a136883d69aecbc5eaeae7c081d2b5bf45d6143132c4bdc2d32e5b13875b15cf753160db4bc644925158a46839
Size (edk2-20181116.tar.gz) = 44711685 bytes
+SHA1 (patch-BaseTools_Source_C_Common_CommonLib.c) = 9013cc1baa902f24429720edc68a1bd3c2f04890
SHA1 (patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh) = c094db893686eff2ca6d3e49b3d4427233cc3fff
SHA1 (patch-OvmfPkg_build.sh) = 7555880aaadfda4954b0bf8beab9a5441cc8374c
diff --git a/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c b/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c
new file mode 100644
index 00000000000..665ae088532
--- /dev/null
+++ b/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-BaseTools_Source_C_Common_CommonLib.c,v 1.3 2020/09/23 11:23:38 prlw1 Exp $
+
+error: array subscript has type 'char' [-Werror=char-subscripts]
+
+--- BaseTools/Source/C/Common/CommonLib.c.orig 2019-01-10 14:18:56.000000000 +0000
++++ BaseTools/Source/C/Common/CommonLib.c
+@@ -582,7 +582,7 @@ char *strlwr(char *s)
+ {
+ char *p = s;
+ for(;*s;s++) {
+- *s = tolower(*s);
++ *s = tolower((unsigned char)*s);
+ }
+ return p;
+ }