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.
This commit is contained in:
Marius Bakke 2022-09-13 00:57:31 +02:00
parent 321e866b1c
commit 389b5b5359
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
4 changed files with 60 additions and 0 deletions

View file

@ -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