Module Name: pkgsrc
Committed By: ryoon
Date: Sun Feb 1 06:50:58 UTC 2026
Modified Files:
pkgsrc/lang/openjdk8: Makefile distinfo
pkgsrc/lang/openjdk8/patches:
patch-common_autoconf_generated-configure.sh
patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h
Log Message:
lang/openjdk8: Update to 1.8.482
Changelog:
Updated BSD port of JDK 8
Additional features include:
Updated to 8u482 GA
To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/lang/openjdk8/Makefile
cvs rdiff -u -r1.110 -r1.111 pkgsrc/lang/openjdk8/distinfo
cvs rdiff -u -r1.27 -r1.28 \
pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/openjdk8/Makefile
diff -u pkgsrc/lang/openjdk8/Makefile:1.145 pkgsrc/lang/openjdk8/Makefile:1.146
--- pkgsrc/lang/openjdk8/Makefile:1.145 Wed Jan 7 08:47:39 2026
+++ pkgsrc/lang/openjdk8/Makefile Sun Feb 1 06:50:58 2026
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.145 2026/01/07 08:47:39 wiz Exp $
+# $NetBSD: Makefile,v 1.146 2026/02/01 06:50:58 ryoon Exp $
DISTNAME= jdk8u-${GITHUB_TAG}
PKGNAME= openjdk8-1.8.${GITHUB_TAG:C/.*u([0-9]+).*/\1/}
-PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=battleblow/}
MASTER_SITES+= ${MASTER_SITE_LOCAL:=openjdk7/} # for bootstrap kits
GITHUB_PROJECT= jdk8u
-GITHUB_TAG= jdk8u472-b08.1
+GITHUB_TAG= jdk8u482-b08.1
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://openjdk.java.net/
Index: pkgsrc/lang/openjdk8/distinfo
diff -u pkgsrc/lang/openjdk8/distinfo:1.110 pkgsrc/lang/openjdk8/distinfo:1.111
--- pkgsrc/lang/openjdk8/distinfo:1.110 Sat Nov 15 12:10:47 2025
+++ pkgsrc/lang/openjdk8/distinfo Sun Feb 1 06:50:58 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.110 2025/11/15 12:10:47 ryoon Exp $
+$NetBSD: distinfo,v 1.111 2026/02/01 06:50:58 ryoon Exp $
BLAKE2s (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 8745b980e290e509c0dd09706398b89afce85fee1405b9367b6684c83d56b96a
SHA512 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) =
6ed928cc68503c27edd6f3a90f94e1e762192d41997b12903e37071f4fcd34f5579fa970e59c240928eaae60729300fbfdb02a5ec1136bc757ee24f1ee554af4
@@ -24,9 +24,9 @@ Size (openjdk7/bootstrap-jdk7u60-bin-dra
BLAKE2s (openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2) = 98777d4ff1f864a9ff5a42870b30319abd39488be2abfdc5e7d3d59b016c5807
SHA512 (openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2) =
1403e582dacd0474e57d9aa8f1333060c50d099ef5d2c5a992ff7f63dcde2e538ff1e7fb78e45d12fd5aea6daf0704672e7f326399d415ee0d6bb53b6f925e9f
Size (openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2) = 37883700 bytes
-BLAKE2s (openjdk7/jdk8u-jdk8u472-b08.1.tar.gz) = 173ee3231131381c525aead4b0309257a6aa54c6b1cec7dea9e118a935d4e7cc
-SHA512 (openjdk7/jdk8u-jdk8u472-b08.1.tar.gz) = a3110ecea01738fe21d63e54699d1d88a2a5a5eeaa88d17a569c0050d84839bc70d9b1e9e1294cc61e83730825d72d7a2180b488c6381fc2f36131cef94a8646
-Size (openjdk7/jdk8u-jdk8u472-b08.1.tar.gz) = 93406190 bytes
+BLAKE2s (openjdk7/jdk8u-jdk8u482-b08.1.tar.gz) = 5700d0cbd9275c9d126d60d8ecb06aed6ad453aa57e710e5ffda165bc1612a61
+SHA512 (openjdk7/jdk8u-jdk8u482-b08.1.tar.gz) = f394b6bda8a8efa6d133b8779246517633810f8d10babd7965122af9a8e6c81b982b3fa92a9213f2da904b4cd4c57c739b00646e87767db99bd505171190c9f6
+Size (openjdk7/jdk8u-jdk8u482-b08.1.tar.gz) = 94499759 bytes
BLAKE2s (openjdk7/openjdk8-1.8.432-x86_64-unknown-illumos.tar.gz) = 4158705dc497273828cfe695afe0563bec279769777868f0017198991eccb314
SHA512 (openjdk7/openjdk8-1.8.432-x86_64-unknown-illumos.tar.gz) = ec8a7be040804d330c54316c268b4f68702f92a0c314132f5b6e541d901a9175666d85ecbc506af9d4328b15433c9648fa0c0812a62f4142d2775c26c3db4077
Size (openjdk7/openjdk8-1.8.432-x86_64-unknown-illumos.tar.gz) = 110776752 bytes
@@ -41,7 +41,7 @@ SHA1 (patch-bh) = 6194a7c319a496f8ff7df1
SHA1 (patch-bi) = 5409f0944d6f850baeaaa7c64d2e8ad52233e1e9
SHA1 (patch-bn) = a50dbe17236a90d60d4bbb852ae447e51a279892
SHA1 (patch-common_autoconf_boot-jdk.m4) = a29767c79544dea243019cc841d834f756172462
-SHA1 (patch-common_autoconf_generated-configure.sh) = b0a225cd14014f9973eae8eaddbf615ae093fa1c
+SHA1 (patch-common_autoconf_generated-configure.sh) = e5de25deb787890a00abfa4a36a38042b4499f4d
SHA1 (patch-common_autoconf_spec.gmk.in) = 5fbf47f2241b5c898a75fb1741873043f1c983f0
SHA1 (patch-hotspot_agent_src_os_bsd_Makefile) = 6e4c41b080577ed7cd418ee3b84f7f5a73dd11e6
SHA1 (patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java) = 893f3b7ad0839a75be49ddd0f5eefcff2dbd2928
@@ -102,7 +102,7 @@ SHA1 (patch-jdk_src_share_classes_sun_se
SHA1 (patch-jdk_src_share_lib_security_java.security-bsd) = 5a64fc1205a5bd2f6586ad65ca21f93dfffb1606
SHA1 (patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c) = feceab600355c7ac1a3fd4ff73a714f25cbf838c
SHA1 (patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c) = 5986de69be2eb36546274a8242b8d13ed7599b50
-SHA1 (patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h) = bd2ef7ea0b2cd9ec8cb637e0c0d4dc3a25021773
+SHA1 (patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h) = 971acf2d4e0682f7ab3fb830a090225a3a1ba1cc
SHA1 (patch-jdk_src_share_native_sun_security_ec_impl_ecc__impl.h) = 18e79e74dc8ec2b24ab91ad8af2195bfd508d1b4
SHA1 (patch-jdk_src_solaris_bin_ergo.c) = 0e2e496a0d596cc9de546c722b3387ad5a08bc21
SHA1 (patch-jdk_src_solaris_bin_ergo__i586.c) = f6fd4c1e0627867ba8d5071da7c53697177805dd
Index: pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh
diff -u pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh:1.27 pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh:1.28
--- pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh:1.27 Tue Dec 3 10:20:25 2024
+++ pkgsrc/lang/openjdk8/patches/patch-common_autoconf_generated-configure.sh Sun Feb 1 06:50:58 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-common_autoconf_generated-configure.sh,v 1.27 2024/12/03 10:20:25 jperkin Exp $
+$NetBSD: patch-common_autoconf_generated-configure.sh,v 1.28 2026/02/01 06:50:58 ryoon Exp $
Various fixes.
---- common/autoconf/generated-configure.sh.orig 2024-11-11 15:38:40.000000000 +0000
+--- common/autoconf/generated-configure.sh.orig 2026-01-23 00:36:25.000000000 +0000
+++ common/autoconf/generated-configure.sh
-@@ -4197,7 +4197,7 @@ VALID_TOOLCHAINS_all="gcc clang solstudi
+@@ -4176,7 +4176,7 @@ VALID_TOOLCHAINS_linux="gcc clang"
# These toolchains are valid on different platforms
VALID_TOOLCHAINS_bsd="clang gcc"
VALID_TOOLCHAINS_linux="gcc clang"
@@ -13,7 +13,7 @@ Various fixes.
VALID_TOOLCHAINS_macosx="gcc clang"
VALID_TOOLCHAINS_aix="xlc"
VALID_TOOLCHAINS_windows="microsoft"
-@@ -15753,9 +15753,6 @@ done
+@@ -15732,9 +15732,6 @@ done
# We need to find a recent version of GNU make. Especially on Solaris, this can be tricky.
if test "x$MAKE" != x; then
# User has supplied a make, test it.
@@ -23,7 +23,7 @@ Various fixes.
MAKE_CANDIDATE=""$MAKE""
DESCRIPTION="user supplied MAKE=$MAKE"
-@@ -20630,7 +20627,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -20609,7 +20606,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -32,7 +32,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -20973,7 +20970,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -20952,7 +20949,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -41,7 +41,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -21313,7 +21310,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -21292,7 +21289,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -50,7 +50,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -21512,7 +21509,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -21491,7 +21488,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -59,7 +59,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -21801,7 +21798,7 @@ fi
+@@ -21780,7 +21777,7 @@ fi
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
@@ -68,7 +68,7 @@ Various fixes.
# This is not a symbolic link! We are done!
break
fi
-@@ -21851,7 +21848,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -21830,7 +21827,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -77,7 +77,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -22077,7 +22074,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -22056,7 +22053,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -86,7 +86,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -22268,7 +22265,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -22247,7 +22244,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -95,7 +95,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -22487,7 +22484,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -22466,7 +22463,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -104,7 +104,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -22678,7 +22675,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -22657,7 +22654,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -113,7 +113,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -22897,7 +22894,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -22876,7 +22873,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -122,7 +122,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -23088,7 +23085,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -23067,7 +23064,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -131,7 +131,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -23307,7 +23304,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -23286,7 +23283,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -140,7 +140,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -23498,7 +23495,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -23477,7 +23474,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -149,7 +149,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -23704,7 +23701,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -23683,7 +23680,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -158,7 +158,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -23893,7 +23890,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -23872,7 +23869,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -167,7 +167,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -24100,7 +24097,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -24079,7 +24076,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -176,7 +176,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -24289,7 +24286,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -24268,7 +24265,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -185,7 +185,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -24495,7 +24492,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -24474,7 +24471,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -194,7 +194,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -24684,7 +24681,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -24663,7 +24660,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -203,7 +203,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -24891,7 +24888,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -24870,7 +24867,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -212,7 +212,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -25080,7 +25077,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -25059,7 +25056,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -221,7 +221,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -25268,7 +25265,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+@@ -25247,7 +25244,7 @@ $as_echo "$as_me: Potential Boot JDK found at $BOOT_JD
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
@@ -230,7 +230,7 @@ Various fixes.
# Extra M4 quote needed to protect [] in grep expression.
FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
-@@ -25685,16 +25682,15 @@ $as_echo_n "checking flags for boot jdk
+@@ -25664,16 +25661,15 @@ $as_echo_n "checking flags for boot jdk java command f
# Maximum amount of heap memory.
# Maximum stack size.
if test "x$BOOT_JDK_BITS" = x32; then
@@ -248,7 +248,7 @@ Various fixes.
$ECHO "Check if jvm arg is ok: -Xmx$JVM_MAX_HEAP" >&5
$ECHO "Command: $JAVA -Xmx$JVM_MAX_HEAP -version" >&5
-@@ -28245,7 +28241,7 @@ $as_echo_n "checking resolved symbolic l
+@@ -28224,7 +28220,7 @@ $as_echo_n "checking resolved symbolic links for CC...
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
@@ -257,7 +257,7 @@ Various fixes.
# This is not a symbolic link! We are done!
break
fi
-@@ -28700,7 +28696,7 @@ $as_echo_n "checking for resolved symbol
+@@ -28679,7 +28675,7 @@ $as_echo_n "checking for resolved symbolic links for C
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
@@ -266,7 +266,7 @@ Various fixes.
# This is not a symbolic link! We are done!
break
fi
-@@ -29984,7 +29980,7 @@ $as_echo_n "checking resolved symbolic l
+@@ -29963,7 +29959,7 @@ $as_echo_n "checking resolved symbolic links for CXX..
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
@@ -275,7 +275,7 @@ Various fixes.
# This is not a symbolic link! We are done!
break
fi
-@@ -30439,7 +30435,7 @@ $as_echo_n "checking for resolved symbol
+@@ -30418,7 +30414,7 @@ $as_echo_n "checking for resolved symbolic links for C
# Resolve file symlinks
while test $COUNTER -lt 20; do
ISLINK=`$LS -l $sym_link_dir/$sym_link_file | $GREP '\->' | $SED -e 's/.*-> \(.*\)/\1/'`
@@ -284,7 +284,7 @@ Various fixes.
# This is not a symbolic link! We are done!
break
fi
-@@ -42588,6 +42584,12 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
+@@ -42567,6 +42563,12 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Xlinker -install_name -Xlinker @rpath/$1'
SET_SHARED_LIBRARY_MAPFILE=''
@@ -297,7 +297,7 @@ Various fixes.
else
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
-@@ -42659,7 +42661,9 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
+@@ -42638,7 +42640,9 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
@@ -308,7 +308,7 @@ Various fixes.
fi
# The (cross) compiler is now configured, we can now test capabilities
# of the target platform.
-@@ -42821,7 +42825,7 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
+@@ -42800,7 +42804,7 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
LEGACY_TARGET_CFLAGS="$LEGACY_TARGET_CFLAGS -fstack-protector"
LEGACY_HOST_CXXFLAGS="$LEGACY_HOST_CXXFLAGS -fstack-protector"
LEGACY_TARGET_CXXFLAGS="$LEGACY_TARGET_CXXFLAGS -fstack-protector"
@@ -317,7 +317,7 @@ Various fixes.
LDFLAGS_JDK="$LDFLAGS_JDK -Wl,-z,relro"
LEGACY_HOST_LDFLAGS="$LEGACY_HOST_LDFLAGS -Wl,-z,relro"
LEGACY_TARGET_LDFLAGS="$LEGACY_TARGET_LDFLAGS -Wl,-z,relro"
-@@ -42872,7 +42876,7 @@ $as_echo "$supports" >&6; }
+@@ -42851,7 +42855,7 @@ $as_echo "$supports" >&6; }
elif test "x$TOOLCHAIN_TYPE" = xclang; then
LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS -fstack-protector"
LEGACY_EXTRA_CXXFLAGS="$LEGACY_EXTRA_CXXFLAGS -fstack-protector"
@@ -326,7 +326,7 @@ Various fixes.
LDFLAGS_JDK="$LDFLAGS_JDK -Wl,-z,relro"
LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS -Wl,-z,relro"
fi
-@@ -43739,7 +43743,9 @@ $as_echo "$supports" >&6; }
+@@ -43697,7 +43701,9 @@ $as_echo "$supports" >&6; }
# Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
# java heap.
if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
@@ -337,7 +337,7 @@ Various fixes.
fi
fi
fi
-@@ -44227,7 +44233,8 @@ $as_echo "alsa pulse x11" >&6; }
+@@ -44185,7 +44191,8 @@ $as_echo_n "checking what is not needed on BSD?... " >
if test "x$OPENJDK_TARGET_OS" = xbsd; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what is not needed on BSD?" >&5
$as_echo_n "checking what is not needed on BSD?... " >&6; }
@@ -347,46 +347,25 @@ Various fixes.
ALSA_NOT_NEEDED=yes
PULSE_NOT_NEEDED=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: alsa pulse" >&5
-@@ -45457,7 +45464,7 @@ $as_echo "$as_me: WARNING: Can't find pr
- BUILD_FREETYPE=no
- fi
- # Now check if configure found a version of 'msbuild.exe'
-- if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" == x ; then
-+ if test "x$BUILD_FREETYPE" = xyes && test "x$MSBUILD" = x ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src" >&5
- $as_echo "$as_me: WARNING: Can't find an msbuild.exe executable (you may try to install .NET 4.0) - ignoring --with-freetype-src" >&2;}
- BUILD_FREETYPE=no
-@@ -45896,6 +45903,11 @@ $as_echo "$as_me: WARNING: --with-freety
- # Allow --with-freetype-lib and --with-freetype-include to override
- if test "x$with_freetype_include" != x; then
- POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"
-+ # deal w/ freetype2 in new location
-+ if test -f "$with_freetype_include"/freetype2/ft2build.h; then
-+ POTENTIAL_FREETYPE_INCLUDE_PATH="$with_freetype_include"/freetype2
-+ fi
-+
- fi
- if test "x$with_freetype_lib" != x; then
- POTENTIAL_FREETYPE_LIB_PATH="$with_freetype_lib"
-@@ -49214,7 +49226,7 @@ $as_echo "$as_me: The path of FREETYPE_I
- FREETYPE_INCLUDE_PATH="`cd "$path"; $THEPWDCMD -L`"
- fi
+@@ -46022,7 +46029,7 @@ $as_echo "$FREETYPE_LIB_PATH" >&6; }
-- if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype; then
-+ if test -d $FREETYPE_INCLUDE_PATH/freetype2; then
+ # Set FREETYPE_CFLAGS, _LIBS and _LIB_PATH from include and lib dir.
+ if test "x$FREETYPE_CFLAGS" = "x" ; then
+- if test -d $FREETYPE_INCLUDE_PATH/freetype2/freetype ; then
++ if test -d $FREETYPE_INCLUDE_PATH/freetype2 ; then
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH/freetype2 -I$FREETYPE_INCLUDE_PATH"
else
FREETYPE_CFLAGS="-I$FREETYPE_INCLUDE_PATH"
-@@ -49358,7 +49370,7 @@ $as_echo "$as_me: The path of FREETYPE_L
- if test "x$OPENJDK_TARGET_OS" = xwindows; then
- FREETYPE_LIBS="$FREETYPE_LIB_PATH/freetype.lib"
- else
-- FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -lfreetype"
-+ FREETYPE_LIBS="-Xlinker -R$FREETYPE_LIB_PATH -L$FREETYPE_LIB_PATH -lfreetype"
- fi
+@@ -46030,7 +46037,7 @@ $as_echo "$FREETYPE_LIB_PATH" >&6; }
+ fi
+
+ if test "x$FREETYPE_LIBS" = "x" ; then
+- FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
++ FREETYPE_LIBS="-Xlinker -R$FREETYPE_LIB_PATH -L$FREETYPE_LIB_PATH -l$FREETYPE_BASE_NAME"
fi
+ fi
-@@ -50695,9 +50707,6 @@ fi
+@@ -47273,9 +47280,6 @@ fi
@@ -396,7 +375,7 @@ Various fixes.
llvm_components="jit mcjit engine nativecodegen native"
unset LLVM_CFLAGS
-@@ -50740,7 +50749,7 @@ fi
+@@ -47318,7 +47322,7 @@ fi
fi
# libCrun is the c++ runtime-library with SunStudio (roughly the equivalent of gcc's libstdc++.so)
@@ -405,7 +384,7 @@ Various fixes.
LIBCXX="${SYSROOT}/usr/lib${OPENJDK_TARGET_CPU_ISADIR}/libCrun.so.1"
fi
-@@ -55724,7 +55733,7 @@ $as_echo_n "checking for memory size...
+@@ -52302,7 +52306,7 @@ $as_echo_n "checking for memory size... " >&6; }
FOUND_MEM=yes
elif test "x$OPENJDK_BUILD_OS" = xbsd && test "x$(uname -s | grep -o BSD)" = xBSD; then
# Looks like a BSD system
Index: pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h
diff -u pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h:1.3 pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h:1.4
--- pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h:1.3 Sat Dec 15 20:27:45 2018
+++ pkgsrc/lang/openjdk8/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h Sun Feb 1 06:50:58 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h,v 1.3 2018/12/15 20:27:45 jperkin Exp $
+$NetBSD: patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h,v 1.4 2026/02/01 06:50:58 ryoon Exp $
Set _POSIX_SOURCE correctly.
---- jdk/src/share/native/sun/awt/libpng/pngpriv.h.orig 2018-12-09 09:51:37.000000000 +0000
+--- jdk/src/share/native/sun/awt/libpng/pngpriv.h.orig 2026-01-23 00:36:25.000000000 +0000
+++ jdk/src/share/native/sun/awt/libpng/pngpriv.h
-@@ -63,7 +63,7 @@
+@@ -75,7 +75,7 @@
* Windows/Visual Studio) there is no effect; the OS specific tests below are
* still required (as of 2011-05-02.)
*/
-#ifndef _POSIX_SOURCE
+#if (!defined(__sun) || (__STDC_VERSION__-0 < 199901L)) && !defined(_POSIX_SOURCE)
- # define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
+ # define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
#endif