commit: 17f87b4fff4a298528282c1f56e856c8adf39762 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Dec 9 21:21:52 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 9 21:26:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f87b4f
app-text/ghostscript-gpl: filter LTO Unsupported upstream. Closes: https://bugs.gentoo.org/884841 Signed-off-by: Sam James <sam <AT> gentoo.org> app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild index 6001ee7799d5..cfd631cb8085 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs MY_PN=${PN/-gpl} MY_P="${MY_PN}-${PV/_}" @@ -116,13 +116,16 @@ src_prepare() { } src_configure() { + # Unsupported upstream, bug #884841 + filter-lto + local FONTPATH for path in \ "${EPREFIX}"/usr/share/fonts/urw-fonts \ "${EPREFIX}"/usr/share/fonts/Type1 \ "${EPREFIX}"/usr/share/fonts do - FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path" + FONTPATH="${FONTPATH}${FONTPATH:+:}${EPREFIX}${path}" done PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \ @@ -135,7 +138,7 @@ src_configure() { --enable-openjpeg \ --disable-compile-inits \ --with-drivers=ALL \ - --with-fontpath="$FONTPATH" \ + --with-fontpath="${FONTPATH}" \ --with-ijs \ --with-jbig2dec \ --with-libpaper \
