Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/openjdk8 lang/openjdk8: document safe use of arra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59dc968bc66d
branches:  trunk
changeset: 430750:59dc968bc66d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 03 19:21:55 2020 +0000

description:
lang/openjdk8: document safe use of array[char]

diffstat:

 lang/openjdk8/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e105f07150cc -r 59dc968bc66d lang/openjdk8/Makefile
--- a/lang/openjdk8/Makefile    Sun May 03 19:11:31 2020 +0000
+++ b/lang/openjdk8/Makefile    Sun May 03 19:21:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2020/04/25 18:37:28 rillig Exp $
+# $NetBSD: Makefile,v 1.95 2020/05/03 19:21:55 rillig Exp $
 
 DISTNAME=      openjdk-jdk8u-${GITHUB_TAG}
 PKGNAME=       openjdk8-1.8.${GITHUB_TAG:C/.*u([0-9]+).*/\1/}
@@ -46,6 +46,9 @@
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
+# hotspot/src/share/vm/adlc/dict2.cpp does that, but it's safe.
+BUILDLINK_TRANSFORM+=  rm:-Werror=char-subscripts
+
 CONFIGURE_ARGS+=       --disable-option-checking # for --with-libiconv-prefix
 CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 CONFIGURE_ARGS+=       --openjdk-target=${MACHINE_GNU_PLATFORM:Q}



Home | Main Index | Thread Index | Old Index