Skip to content

Commit

Permalink
openjdk21: update to 21.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
breun committed Jan 22, 2025
1 parent 9d360a7 commit 2e7eea9
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions java/openjdk21/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ PortSystem 1.0
set feature 21
name openjdk${feature}
# See https://openjdk-sources.osci.io/openjdk21/ for the version and build number that matches the latest '-ga' version
version ${feature}.0.5
set build 11
version ${feature}.0.6
set build 7
revision 0
categories java devel
supported_archs x86_64 arm64
Expand All @@ -26,9 +26,9 @@ distname openjdk-${version}-ga
use_xz yes
worksrcdir jdk-${version}+${build}

checksums rmd160 3005b3b3dbd1c1fed06af9f9b60e03a53923fcaf \
sha256 8a5d8be31d83edead93b02c7495960f969ddea38b59426a8d7b45aaadd82a960 \
size 69823212
checksums rmd160 2987f9e3ae3542b1913c65c4e0385564c963270a \
sha256 586bf34a4ce41d6a02f81315ef6cac7d2395a6d47d293af94a6a8fa7c7014ead \
size 70317744

set bootjdk_port openjdk21-zulu

Expand All @@ -47,10 +47,11 @@ pre-patch {
reinplace "s|xmacosx|xwindows|g" ${worksrcpath}/make/autoconf/lib-freetype.m4
}

# Temporary workaround for clang 16: https://trac.macports.org/ticket/70819
# Temporary workaround for undeclared enum in < 11.00: https://trac.macports.org/ticket/71049
patchfiles JDK-8340341-clang-16-workaround.patch \
JDK-8342071-undecl-ident-nsbun-arm64-workaround.patch
patchfiles \
# Workaround for clang 16.0-16.1: https://trac.macports.org/ticket/70819
JDK-8340341-clang-16-workaround.patch \
# Workaround for undeclared enum in < 11.00: https://trac.macports.org/ticket/71049
JDK-8342071-undecl-ident-nsbun-arm64-workaround.patch

set tpath ${prefix}/Library/Java
use_xcode yes
Expand Down

0 comments on commit 2e7eea9

Please sign in to comment.