From b86de0942126d6005b21f34a2a93ed2ad07d400e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Mon, 28 Oct 2019 11:35:11 +0100 Subject: [PATCH] media-sound/lilypond-{2.19.80-r1,9999}: fix #681630 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/681630 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Å ulc --- .../lilypond-2.19.80-fontforge-version.patch | 16 ++++++++++++++++ media-sound/lilypond/lilypond-2.19.80-r1.ebuild | 5 ++++- media-sound/lilypond/lilypond-9999.ebuild | 7 +++++-- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch diff --git a/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch b/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch new file mode 100644 index 000000000000..4e2c2ce77c12 --- /dev/null +++ b/media-sound/lilypond/files/lilypond-2.19.80-fontforge-version.patch @@ -0,0 +1,16 @@ +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) + diff --git a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild b/media-sound/lilypond/lilypond-2.19.80-r1.ebuild index 1a358dd52c2c..3e23b2dfe640 100644 --- a/media-sound/lilypond/lilypond-2.19.80-r1.ebuild +++ b/media-sound/lilypond/lilypond-2.19.80-r1.ebuild @@ -55,7 +55,10 @@ DEPEND="${RDEPEND} # 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 ) diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild index 93bb8d785b9b..4d591c81e099 100644 --- a/media-sound/lilypond/lilypond-9999.ebuild +++ b/media-sound/lilypond/lilypond-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,7 +22,10 @@ SLOT="0" 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] -- 2.26.2