diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-12-14 21:07:31 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-12-14 21:10:49 +0100 |
commit | e795a8337fce689d9c4afc94e7e54181fa8f0522 (patch) | |
tree | 21283672284b28bf45270e822dacd5772495e154 /app-text/ghostscript-gpl | |
parent | dev-util/edb-debugger: bump up to 1.3.0 (diff) | |
download | gentoo-e795a8337fce689d9c4afc94e7e54181fa8f0522.tar.gz gentoo-e795a8337fce689d9c4afc94e7e54181fa8f0522.tar.bz2 gentoo-e795a8337fce689d9c4afc94e7e54181fa8f0522.zip |
app-text/ghostscript-gpl: apply upstream fix for ps2epsi problem
Bug: https://bugs.gentoo.org/749399
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-text/ghostscript-gpl')
-rw-r--r-- | app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch | 16 | ||||
-rw-r--r-- | app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild (renamed from app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild) | 7 |
2 files changed, 18 insertions, 5 deletions
diff --git a/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch new file mode 100644 index 000000000000..9d7f53e2fd1f --- /dev/null +++ b/app-text/ghostscript-gpl/files/ghostscript-gpl-9.53.3-fix-ps2epsi.patch @@ -0,0 +1,16 @@ +https://bugs.ghostscript.com/show_bug.cgi?id=703270 + +--- a/lib/ps2epsi ++++ b/lib/ps2epsi +@@ -40,8 +40,8 @@ else + outfile=$2 + fi + +-# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi' ++# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h + "$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \ +- --permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps" "${infile}" 1>&2 ++ --permit-file-all="${infile}" -- ps2epsi.ps "${infile}" 1>&2 + + exit 0 + diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild index eeee98137748..e4d3e176be9e 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild @@ -61,8 +61,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" PATCHES=( - # bug #747808 - "${FILESDIR}/${PN}-9.53.3-freetype-2.10.3.patch" + "${FILESDIR}/${PN}-9.53.3-freetype-2.10.3.patch" # bug #747808 + "${FILESDIR}/${P}-fix-ps2epsi.patch" ) src_prepare() { @@ -185,9 +185,6 @@ src_install() { # install the CMaps from poppler-data properly, bug #409361 dosym ../../../poppler/cMaps "/usr/share/ghostscript/${PV}/Resource/CMap" - # ps2epsi requires ps2epsi.ps in same directory, bug #749399 - dosym "../share/ghostscript/${PV}/lib/ps2epsi.ps" /usr/bin/ps2epsi.ps - if ! use static-libs; then find "${ED}" -name '*.la' -delete || die fi |