aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk11/fix-bootjdk-check.patch
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2020-05-09 11:50:57 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-09 20:06:43 +0000
commit739575ba4c9b54d8b43fc7891423f41455bd138b (patch)
tree1262fa93835a1e259203dc2709d9dc78e462f6bb /community/openjdk11/fix-bootjdk-check.patch
parent04f4314af8b80725a35cb8a14801c63d813f7495 (diff)
downloadaports-739575ba4c9b54d8b43fc7891423f41455bd138b.tar.bz2
aports-739575ba4c9b54d8b43fc7891423f41455bd138b.tar.xz
community/openjdk11: Upgrade to 11.0.7
Diffstat (limited to 'community/openjdk11/fix-bootjdk-check.patch')
-rw-r--r--community/openjdk11/fix-bootjdk-check.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/openjdk11/fix-bootjdk-check.patch b/community/openjdk11/fix-bootjdk-check.patch
index 04a1c94ff9..18cd4624d2 100644
--- a/community/openjdk11/fix-bootjdk-check.patch
+++ b/community/openjdk11/fix-bootjdk-check.patch
@@ -1,6 +1,8 @@
-The alpine builders print out a warning about sched_getaffinity() not working.
-This causes the version check for the boot jdk to fail.
-Patch the command to determine the version number to ignore any errors and warnings.
+Author: Simon Frankenberger <simon-alpine@fraho.eu>
+Upstream: no
+Reason: The alpine builders print out a warning about sched_getaffinity() not working.
+ This causes the version check for the boot jdk to fail.
+ Patch the command to determine the version number to ignore any errors and warnings.
--- old/make/autoconf/boot-jdk.m4
+++ new/make/autoconf/boot-jdk.m4
@@ -12,4 +14,4 @@ Patch the command to determine the version number to ignore any errors and warni
+ BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $GREP version | $HEAD -n 1`
# Extra M4 quote needed to protect [] in grep expression.
- [FOUND_CORRECT_VERSION=`$ECHO $BOOT_JDK_VERSION | $EGREP '\"10([\.+-].*)?\"|\"9([\.+-].*)?\"'`]
+ [FOUND_CORRECT_VERSION=`$ECHO $BOOT_JDK_VERSION \