pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/openjdk11



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Mar  3 20:34:52 UTC 2026

Modified Files:
        pkgsrc/lang/openjdk11: Makefile

Log Message:
openjdk11: backport alloca() fix from openjdk17


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 pkgsrc/lang/openjdk11/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/openjdk11/Makefile
diff -u pkgsrc/lang/openjdk11/Makefile:1.84 pkgsrc/lang/openjdk11/Makefile:1.85
--- pkgsrc/lang/openjdk11/Makefile:1.84 Fri Feb  6 10:05:09 2026
+++ pkgsrc/lang/openjdk11/Makefile      Tue Mar  3 20:34:52 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2026/02/06 10:05:09 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2026/03/03 20:34:52 tnn Exp $
 
 DISTNAME=      jdk11u-${GITHUB_TAG:C/\+/-/}
 PKGNAME=       openjdk11-1.${GITHUB_TAG:C/\+/./:C/jdk-([.0-9]+).*/\1/}
@@ -25,6 +25,10 @@ JAVA_WRAPPERS=       jar jarsigner java javac 
 
 TOOL_DEPENDS+=         mozilla-rootcerts>=1.0.20140820nb2:../../security/mozilla-rootcerts
 
+# For alloca()
+BUILDLINK_TRANSFORM+=  opt:-std=c99:-std=gnu99
+BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
+
 GNU_CONFIGURE=         yes
 GNU_CONFIGURE_STRICT=  no # generates the configure script during the build
 USE_GNU_CONFIGURE_HOST=        no



Home | Main Index | Thread Index | Old Index