summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-13 00:57:31 +0200
committerMarius Bakke <marius@gnu.org>2022-09-13 14:53:08 +0200
commit389b5b5359e82be5e0417fd3505661b1800fca40 (patch)
tree60d06dbbded034aa4519ef44b0e0b689efe22cdc /gnu/packages/java.scm
parent321e866b1cea4916e3568efb84a248e5bb91200a (diff)
downloadguix-389b5b5359e82be5e0417fd3505661b1800fca40.tar.gz
gnu: OpenJDK@9: Fix build with newer toolchain.
* gnu/packages/java.scm (openjdk9)[source](patches): New field.
* gnu/packages/patches/openjdk-9-hotspot-pointer-comparison.patch,
gnu/packages/patches/openjdk-9-hotspot-stack-size.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 702f0ea9d3..fda361a4a6 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1536,6 +1536,9 @@ new Date();"))
               (sha256
                (base32
                 "01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq"))
+              (patches (search-patches
+                        "openjdk-9-hotspot-pointer-comparison.patch"
+                        "openjdk-9-hotspot-stack-size.patch"))
               (modules '((guix build utils)))
               (snippet
                `(begin