diff options
Diffstat (limited to 'community/openjdk11/fix-bootjdk-check.patch')
-rw-r--r-- | community/openjdk11/fix-bootjdk-check.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/community/openjdk11/fix-bootjdk-check.patch b/community/openjdk11/fix-bootjdk-check.patch index 04a1c94ff97..18cd4624d27 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 \ |