summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-09-07 16:23:54 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-09-07 16:23:54 +0200
commit306c1e614d617f02e9943c95a829395a2bc713fb (patch)
tree51123904e020e10975bf7e568ee6fe188d6d441b
parent22bd735a3f060206ba42bd2542a4b82ff5e2bf6f (diff)
downloadguix-306c1e614d617f02e9943c95a829395a2bc713fb.tar.gz
gnu: icedtea-6: Patch required freetype version.
* gnu/packages/java.scm (icedtea-6)[arguments]: Patch hardcoded version string
for freetype version check.
-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 fee0970e74..e2c47e417f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -756,6 +756,9 @@ machine.")))
              (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\";")