From 948557857082bf97882af71143c4c442ee793626 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 5 Dec 2021 01:03:31 +0100 Subject: [PATCH] gnu: java-native-access: Use older GCC. * gnu/packages/java.scm (java-native-access)[native-inputs]: Add gcc-7 to fix the build. --- gnu/packages/java.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 827ad571c9..9261ccd367 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -60,6 +60,7 @@ (define-module (gnu packages java) #:use-module (gnu packages elf) #:use-module (gnu packages fontutils) #:use-module (gnu packages gawk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages ghostscript) ;lcms @@ -13005,7 +13006,8 @@ (define-public java-native-access ("libx11" ,libx11) ("libxt" ,libxt))) (native-inputs - `(("java-junit" ,java-junit) + `(("gcc" ,gcc-7) + ("java-junit" ,java-junit) ("java-hamcrest-core" ,java-hamcrest-core))) (home-page "https://github.com/java-native-access/jna") (synopsis "Access to native shared libraries from Java")