pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa399cc6cda4
branches:  trunk
changeset: 439538:aa399cc6cda4
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Sun Sep 20 14:17:22 2020 +0000

description:
xentools413: gcc9 build fix

diffstat:

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

diffs (36 lines):

diff -r 3b70da9944c2 -r aa399cc6cda4 sysutils/xentools413/distinfo
--- a/sysutils/xentools413/distinfo     Sun Sep 20 13:30:45 2020 +0000
+++ b/sysutils/xentools413/distinfo     Sun Sep 20 14:17:22 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2020/08/27 13:39:04 bouyer Exp $
+$NetBSD: distinfo,v 1.4 2020/09/20 14:17:22 prlw1 Exp $
 
 SHA1 (xen413/ipxe-1dd56dbd11082fb622c2ed21cfaced4f47d798a6.tar.gz) = b78d21457bc07b4c4d3e770109c169ddafdacdf5
 RMD160 (xen413/ipxe-1dd56dbd11082fb622c2ed21cfaced4f47d798a6.tar.gz) = 846dbcc0f56e87fca8c87b00ca2ed031471d4246
@@ -54,6 +54,7 @@
 SHA1 (patch-tools_libs_gnttab_netbsd.c) = fecbb0d41365fc49621964dbf8d3b3fcbfddb5d3
 SHA1 (patch-tools_libxc_xc_private.h) = b627c3f92a6e74e3708bbc110d0b6a4d6ea64c37
 SHA1 (patch-tools_libxl_libxl__create.c) = 09cd562f0839dda6f92d63d8fc8ed6de08dd82a8
+SHA1 (patch-tools_libxl_libxl__qmp.c) = d7507da61fedca0b2eb468a2c18738324c9aebd9
 SHA1 (patch-tools_libxl_libxl_dm.c) = 7067dd7f99d31617074442a4e7c1b4d4389fb17d
 SHA1 (patch-tools_libxl_libxl_dom.c) = 0c4a96523d13de65aaa71ef705c3579ee8d641f3
 SHA1 (patch-tools_libxl_libxl_event.c) = 8147122d03102eccc45c48a7d6ca1aa5d6286040
diff -r 3b70da9944c2 -r aa399cc6cda4 sysutils/xentools413/patches/patch-tools_libxl_libxl__qmp.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xentools413/patches/patch-tools_libxl_libxl__qmp.c       Sun Sep 20 14:17:22 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_libxl_libxl__qmp.c,v 1.1 2020/09/20 14:17:23 prlw1 Exp $
+
+error: array subscript has type 'char' [-Werror=char-subscripts]
+
+--- tools/libxl/libxl_qmp.c.orig       2020-05-14 12:19:32.000000000 +0000
++++ tools/libxl/libxl_qmp.c
+@@ -1226,7 +1226,7 @@ static int qmp_error_class_to_libxl_erro
+                 se++;
+                 continue;
+             }
+-            if (tolower(*s) != tolower(*se))
++            if (tolower((unsigned char)*s) != tolower((unsigned char)*se))
+                 break;
+             s++, se++;
+         }



Home | Main Index | Thread Index | Old Index