pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ovmf ovmf: gcc9 build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43bb8291f7d7
branches:  trunk
changeset: 439641:43bb8291f7d7
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Wed Sep 23 11:23:38 2020 +0000

description:
ovmf: gcc9 build fix

diffstat:

 sysutils/ovmf/distinfo                                            |   3 +-
 sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r a9cb73ebdd3d -r 43bb8291f7d7 sysutils/ovmf/distinfo
--- a/sysutils/ovmf/distinfo    Wed Sep 23 09:47:45 2020 +0000
+++ b/sysutils/ovmf/distinfo    Wed Sep 23 11:23:38 2020 +0000
@@ -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 -r a9cb73ebdd3d -r 43bb8291f7d7 sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c Wed Sep 23 11:23:38 2020 +0000
@@ -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;
+ }



Home | Main Index | Thread Index | Old Index