gnu: java-native-access: Use older GCC.

* gnu/packages/java.scm (java-native-access)[native-inputs]: Add gcc-7 to fix
the build.
This commit is contained in:
Ricardo Wurmus 2021-12-05 01:03:31 +01:00
parent 48235c37db
commit 9485578570
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -60,6 +60,7 @@ (define-module (gnu packages java)
#:use-module (gnu packages elf) #:use-module (gnu packages elf)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages gawk) #:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages gl) #:use-module (gnu packages gl)
#:use-module (gnu packages ghostscript) ;lcms #:use-module (gnu packages ghostscript) ;lcms
@ -13005,7 +13006,8 @@ (define-public java-native-access
("libx11" ,libx11) ("libx11" ,libx11)
("libxt" ,libxt))) ("libxt" ,libxt)))
(native-inputs (native-inputs
`(("java-junit" ,java-junit) `(("gcc" ,gcc-7)
("java-junit" ,java-junit)
("java-hamcrest-core" ,java-hamcrest-core))) ("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "https://github.com/java-native-access/jna") (home-page "https://github.com/java-native-access/jna")
(synopsis "Access to native shared libraries from Java") (synopsis "Access to native shared libraries from Java")