gnu: icedtea-6: Patch required freetype version.

* gnu/packages/java.scm (icedtea-6)[arguments]: Patch hardcoded version string
for freetype version check.
This commit is contained in:
Ricardo Wurmus 2019-09-07 16:23:54 +02:00
parent 22bd735a3f
commit 306c1e614d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -756,6 +756,9 @@ (define-public icedtea-6
(with-directory-excursion "openjdk"
(invoke "tar" "xvf" (assoc-ref inputs "hotspot-src"))
(rename-file "hg-checkout" "hotspot"))
(substitute* "patches/freetypeversion.patch"
(("REQUIRED_FREETYPE_VERSION = 2.2.1")
"REQUIRED_FREETYPE_VERSION = 2.10.1"))
(substitute* "Makefile.in"
(("echo \"ERROR: No up-to-date OpenJDK zip available\"; exit -1;")
"echo \"trust me\";")