--- /dev/null
+The version test fails for two reasons:
+* fontforge --version does not print anything that resembles what the configure
+ script expects a version to look like
+* fontforge fails to print a version if it cannot connect to an X display
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -236,7 +236,7 @@
+
+ STEPMAKE_PYTHON_DEVEL(REQUIRED, 2.4, 3.0)
+
+-STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED, 20110222)
++STEPMAKE_PATH_PROG(FONTFORGE, fontforge, REQUIRED,)
+
+ STEPMAKE_PATH_PROG(T1ASM, t1asm, REQUIRED)
+
# Correct output data for tests isn't bundled with releases
RESTRICT="test"
-PATCHES=( "${FILESDIR}"/${P}-remove-ly-protect.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-remove-ly-protect.patch
+ "${FILESDIR}"/${P}-fontforge-version.patch
+)
DOCS=( DEDICATION HACKING README.txt ROADMAP )
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
IUSE="debug emacs guile2 profile vim-syntax"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-PATCHES=(${FILESDIR}/$P-programming_error.patch)
+PATCHES=(
+ "${FILESDIR}"/$P-programming_error.patch
+ "${FILESDIR}"/${PN}-2.19.80-fontforge-version.patch
+)
RDEPEND=">=app-text/ghostscript-gpl-8.15
>=dev-scheme/guile-1.8.2:12[deprecated,regex]