<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9dcd82044e21d74ea5762697fdc78621cb42131b">https://github.com/macports/macports-ports/commit/9dcd82044e21d74ea5762697fdc78621cb42131b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9dcd82044e2 openjdk-source: new port
</span>9dcd82044e2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9dcd82044e21d74ea5762697fdc78621cb42131b
</span>Author: usersxx <97012123+usersxx@users.noreply.github.com>
AuthorDate: Thu Mar 3 08:54:34 2022 +0530
<span style='display:block; white-space:pre;color:#404040;'> openjdk-source: new port
</span>---
java/openjdk-source/Portfile | 391 +++++++++++++++++++++
.../files/patch-openjdk15u-build-fix.diff | 30 ++
.../files/patch-openjdk8u-xcode-configure1.diff | 13 +
.../files/patch-openjdk8u-xcode-configure2.diff | 13 +
4 files changed, 447 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk-source/Portfile b/java/openjdk-source/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..837e2b24cd1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk-source/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,391 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name openjdk-source
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Latest Long Term Support (LTS) major version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Replaced by openjdk${version}u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories java devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq "openjdk-source"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk Updates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Updates of Openjdk, Open-Source implementation of the Java \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:openjdk17u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "echo ${subport} is a stub port > ${docdir}/README"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set long_description_openjdk-ga \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "Production-ready open-source builds of the Openjdk, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Open Source implementation of the Java Platform, Standard Edition, and related projects."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set long_description_adoption-jdk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "The adoption group of OpenJDK was formed out of the global \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Java User Group (JUG) Adopt OpenJDK programme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ A majority of the original programme is expected \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to be folded up into this adoption group over time. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Although AdoptOpenJDK is not an official OpenJDK project, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ most OpenJDK's Adoption Group members are involved in the new shared build farm for OpenJDK at adoptopenjdk.net. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This build farm, infrastructure and test scripts as code will allow OpenJDK developers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to build and test OpenJDK on as many versions, variants and platforms as possible."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk8-adoption-boot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://wiki.openjdk.java.net/display/Adoption/Main
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/jdk8u-2018-11-07-15-21/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 8u192-b12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 8 AdoptOpenJDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${long_description_adoption-jdk}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://adoptopenjdk.net/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set db 2018-11-07-15-21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u-${db}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 3cf5f76ff1d7a4f73a10edf0a893db816faf2224 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 62816d0de1ee67eefecb3a5dad59b5f5c91e14c53f8ec88b6c3fafc885d185a5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 101520902
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname OpenJDK8U-jdk_x64_mac_hotspot_${db}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openboot_path openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk8u {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openjdk/jdk8u/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove 'jdk' from tag and add to version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set u 332
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 8u${u}-b04
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jver 1.8.0_${u}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set tpath /Library/Java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 8u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Openjdk 8u builds of Openjdk, Open-Source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Java Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.url https://github.com/openjdk/jdk8u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch jdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk8u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|JDK_UPDATE_VERSION=|JDK_UPDATE_VERSION=332|g" ${worksrcpath}/common/autoconf/version-numbers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-openjdk8u-xcode-configure1.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-openjdk8u-xcode-configure2.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd sh ./configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args --prefix=${tpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk8u192-b12/Contents/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-debug-level=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-freetype-include=${prefix}/include/freetype2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-freetype-lib=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target images
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:openjdk8-adoption-boot \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jdkn jdk${jver}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_dir /build/openjdk${version}/images/j2sdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openjdkn openjdk${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk11-boot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set build 28
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description openjdk 11 builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${long_description_openjdk-ga}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://jdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://download.java.net/java/ga/jdk${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 c914d38c78b2943c7b47ff2da4e8da89438f96cd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6b969d2df6a9758d9458f5ba47939250e848dfba8b49e41c935cf210606b6d38 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 182717049
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname openjdk-11_osx-x64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk-11.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openboot_path openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk11u {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openjdk/jdk11u/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove 'jdk-' from tag and add to version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 11.0.15+5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set tpath /Library/Java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jver 11.0.15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 11 updates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Openjdk 11 updates of Openjdk, Open-Source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Java Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd sh configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args --prefix=${tpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-debug-level=optimized \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-native-debug-symbols=none \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-version-pre=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-sysroot=`xcrun --sdk macosx --show-sdk-path` \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-warnings-as-errors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.url https://github.com/openjdk/jdk11u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch jdk-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk11u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target images
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.post_args CONF_CHECK=ignore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:openjdk11-boot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jdkn jdk-${jver}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_dir /build/openjdk${version}/images/jdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openjdkn openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk13-boot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set build 33
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description openjdk 13 builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${long_description_openjdk-ga}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://jdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://download.java.net/java/GA/jdk${version}/5b8a42f3905b406298b72d750b6919f6/${build}/GPL/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 d9dd9241fa5d6fbdf0ab59acdb8e21e8c5f98a5f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1a9c096630a0e4f27ce61ac9e477378b8581c537568186d4afd0b416a7e9dd68 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 189943388
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname openjdk-13_osx-x64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk-13.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openboot_path openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk13u {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openjdk/jdk13u/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove 'jdk-' from tag and add to version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 13.0.11+2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set tpath /Library/Java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jver 13.0.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 13 updates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Openjdk 13 updates of Openjdk, Open-Source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Java Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd sh configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args --prefix=${tpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-debug-level=optimized \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-native-debug-symbols=none \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-version-pre=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-sysroot=`xcrun --sdk macosx --show-sdk-path` \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-warnings-as-errors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.url https://github.com/openjdk/jdk13u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch jdk-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk13u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target images
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.post_args CONF_CHECK=ignore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:openjdk13-boot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jdkn jdk-${jver}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_dir /build/openjdk${version}/images/jdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openjdkn openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk15-boot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set build 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description openjdk 15 builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${long_description_openjdk-ga}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://jdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://download.java.net/java/GA/jdk${version}/779bf45e88a44cbd9ea6621d33e33db1/${build}/GPL/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 3b40c853f52afa324178c90deb867659e9d99c24 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ab842c8c0953b816be308c098c1a021177a4776bef24da85b6bafbbd657c7e1a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 192743279
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname openjdk-15_osx-x64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk-15.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openboot_path openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk15u {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openjdk/jdk15u/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove 'jdk-' from tag and add to version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 15.0.7+2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set tpath /Library/Java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jver 15.0.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 15 updates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Openjdk 15 updates of Openjdk, Open-Source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Java Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-openjdk15u-build-fix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd sh configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args --prefix=${tpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-debug-level=optimized \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-native-debug-symbols=none \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-version-pre=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-sysroot=`xcrun --sdk macosx --show-sdk-path` \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk-15.jdk/Contents/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-warnings-as-errors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.url https://github.com/openjdk/jdk15u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch jdk-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk15u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target images
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.post_args CONF_CHECK=ignore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:openjdk15-boot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jdkn jdk-${jver}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_dir /build/openjdk${version}/images/jdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openjdkn openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk17-boot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set build 35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description openjdk 17 builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description {*}${long_description_openjdk-ga}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://jdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64 arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://download.java.net/java/GA/jdk${version}/0d483333a00540d886896bac774ff48b/${build}/GPL/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 22047e850be0cfafb6d16a9bf6d08914ca724c9a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 18e11cf9bbc6f584031e801b11ae05a233c32086f8e1b84eb8a1e9bb8e1f5d90 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 184007871
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname openjdk-17_macos-x64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${configure.build_arch} eq "arm64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 fbcfd2cc8d00322902f7c8c257985e43130d097a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b5bf6377aabdc935bd72b36c494e178b12186b0e1f4be50f35134daa33bda052 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 181735146
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname openjdk-17_macos-aarch64_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk-17.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openboot_path openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport openjdk17u {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/openjdk/jdk17u/tags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove 'jdk-' from tag and add to version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 17.0.3+4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set tpath /Library/Java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jver 17.0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Openjdk 17 updates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Openjdk 17 updates of Openjdk, Open-Source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Java Platform, Standard Edition, and related projects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ homepage https://openjdk.java.net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64 arm64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xcode is required for latest metal graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cmd sh configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args --prefix=${tpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args --with-debug-level=optimized \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-native-debug-symbols=none \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-version-pre=release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk-17.jdk/Contents/Home \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-warnings-as-errors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fetch.type git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.url https://github.com/openjdk/jdk17u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ git.branch jdk-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir jdk17u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.type gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target images
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.post_args CONF_CHECK=ignore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:openjdk17-boot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set jdkn jdk-${jver}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_dir /build/openjdk${version}/images/jdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set openjdkn openjdk-${version}.jdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *-boot ${subport}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xcode no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set path /Library/Java/JavaVirtualMachines/${openboot_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/Contents ${destroot}${path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ If you have more than one JDK installed you can make ${subport} the default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ by adding the following line to your shell profile:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ export JAVA_HOME=${path}/Contents/Home
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {[string match openjdk*u ${subport}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pathb ${tpath}/JavaVirtualMachines/${openjdkn}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${pathb}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}${bundle_dir} ${destroot}${pathb}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ If you want to make ${subport} the default JDK, add this to shell profile:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ export JAVA_HOME=${pathb}/Contents/Home
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk-source/files/patch-openjdk15u-build-fix.diff b/java/openjdk-source/files/patch-openjdk15u-build-fix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..57d6236e936
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk-source/files/patch-openjdk15u-build-fix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,30 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/hotspot/share/gc/parallel/psParallelCompact.cpp.orig 2022-03-12 20:43:17.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/hotspot/share/gc/parallel/psParallelCompact.cpp 2022-03-12 20:46:59.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1611,16 +1611,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCTraceTime(Info, gc, phases) tm("Summary Phase", &_gc_timer);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- log_develop_debug(gc, marking)(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "add_obj_count=" SIZE_FORMAT " "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "add_obj_bytes=" SIZE_FORMAT,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_obj_count,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_obj_size * HeapWordSize);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- log_develop_debug(gc, marking)(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "mark_bitmap_count=" SIZE_FORMAT " "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "mark_bitmap_bytes=" SIZE_FORMAT,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mark_bitmap_count,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mark_bitmap_size * HeapWordSize);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (TraceParallelOldGCMarkingPhase) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tty->print_cr("add_obj_count=" SIZE_FORMAT " "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "add_obj_bytes=" SIZE_FORMAT,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add_obj_count, add_obj_size * HeapWordSize);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ tty->print_cr("mark_bitmap_count=" SIZE_FORMAT " "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "mark_bitmap_bytes=" SIZE_FORMAT,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mark_bitmap_count, mark_bitmap_size * HeapWordSize);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif // #ifdef ASSERT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Quick summarization of each space into itself, to see how much is live.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ summarize_spaces_quick();
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk-source/files/patch-openjdk8u-xcode-configure1.diff b/java/openjdk-source/files/patch-openjdk8u-xcode-configure1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d0ca82598f7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk-source/files/patch-openjdk8u-xcode-configure1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/autoconf/toolchain.m4.orig 2022-03-13 11:37:54.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/autoconf/toolchain.m4 2022-03-13 11:43:25.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -290,8 +290,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fail-fast: verify we're building on a supported Xcode version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ XCODE_VERSION=`$XCODEBUILD -version | grep '^Xcode ' | sed 's/Xcode //'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ XC_VERSION_PARTS=( ${XCODE_VERSION//./ } )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "${XC_VERSION_PARTS[[0]]}" != "6" -a "${XC_VERSION_PARTS[[0]]}" != "9" -a "${XC_VERSION_PARTS[[0]]}" != "10" -a "${XC_VERSION_PARTS[[0]]}" != "11" -a "${XC_VERSION_PARTS[[0]]}" != "12" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_MSG_ERROR([Xcode 6, 9-12 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test "${XC_VERSION_PARTS[[0]]}" != "6" -a "${XC_VERSION_PARTS[[0]]}" != "9" -a "${XC_VERSION_PARTS[[0]]}" != "10" -a "${XC_VERSION_PARTS[[0]]}" != "11" -a "${XC_VERSION_PARTS[[0]]}" != "12" -a "${XC_VERSION_PARTS[[0]]}" != "13" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_MSG_ERROR([Xcode 6, 9-13 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select.])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Some versions of Xcode command line tools install gcc and g++ as symlinks to
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk-source/files/patch-openjdk8u-xcode-configure2.diff b/java/openjdk-source/files/patch-openjdk8u-xcode-configure2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..50bfe7b273d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk-source/files/patch-openjdk8u-xcode-configure2.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/autoconf/generated-configure.sh.orig 2022-03-13 11:37:54.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/autoconf/generated-configure.sh 2022-03-13 11:46:00.000000000 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27049,8 +27049,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fail-fast: verify we're building on a supported Xcode version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ XCODE_VERSION=`$XCODEBUILD -version | grep '^Xcode ' | sed 's/Xcode //'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ XC_VERSION_PARTS=( ${XCODE_VERSION//./ } )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "${XC_VERSION_PARTS[0]}" != "6" -a "${XC_VERSION_PARTS[0]}" != "9" -a "${XC_VERSION_PARTS[0]}" != "10" -a "${XC_VERSION_PARTS[0]}" != "11" -a "${XC_VERSION_PARTS[0]}" != "12" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- as_fn_error $? "Xcode 6, 9-12 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select." "$LINENO" 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test "${XC_VERSION_PARTS[0]}" != "6" -a "${XC_VERSION_PARTS[0]}" != "9" -a "${XC_VERSION_PARTS[0]}" != "10" -a "${XC_VERSION_PARTS[0]}" != "11" -a "${XC_VERSION_PARTS[0]}" != "12" -a "${XC_VERSION_PARTS[0]}" != "13" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ as_fn_error $? "Xcode 6, 9-13 is required to build JDK 8, the version found was $XCODE_VERSION. Use --with-xcode-path to specify the location of Xcode or make Xcode active by using xcode-select." "$LINENO" 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Some versions of Xcode command line tools install gcc and g++ as symlinks to
</span></pre><pre style='margin:0'>
</pre>