summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/openjdk-14-builtins.patch
diff options
context:
space:
mode:
authorNot Zed <notzed@gmail.com>2020-04-28 10:33:46 +0930
committerRicardo Wurmus <rekado@elephly.net>2020-05-16 11:50:45 +0200
commitc4618174ecb6375849529f1d1026585817bb139e (patch)
tree798c3cc70f73c372f16d0779f46bba0d6a38c262 /gnu/packages/patches/openjdk-14-builtins.patch
parentc58274133676e429bfc1486e3b58762ff8659131 (diff)
downloadguix-patches-c4618174ecb6375849529f1d1026585817bb139e.tar
guix-patches-c4618174ecb6375849529f1d1026585817bb139e.tar.gz
gnu: Add openjdk13.
* gnu/packages/java.scm (openjdk13): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/patches/openjdk-14-builtins.patch')
-rw-r--r--gnu/packages/patches/openjdk-14-builtins.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/openjdk-14-builtins.patch b/gnu/packages/patches/openjdk-14-builtins.patch
new file mode 100644
index 0000000000..0e7e3dcaa9
--- /dev/null
+++ b/gnu/packages/patches/openjdk-14-builtins.patch
@@ -0,0 +1,11 @@
+--- jdk14-bc54620a3848/make/autoconf/basics.m4 2020-02-07 04:40:54.000000000 +1030
++++ jdk14-bc54620a3848-new/make/autoconf/basics.m4 2020-04-24 10:59:33.056098506 +0930
+@@ -583,7 +583,7 @@
+ BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
+ if test "x[$]$1" = x; then
+ AC_MSG_NOTICE([Required tool $2 not found in PATH, checking built-in])
+- if help $2 > /dev/null 2>&1; then
++ if command -v $2 > /dev/null 2>&1; then
+ AC_MSG_NOTICE([Found $2 as shell built-in. Using it])
+ $1="$2"
+ else