diff -Nur /usr/portage/app-text/pstotext/Manifest /usr/local/portage/app-text/pstotext/Manifest --- /usr/portage/app-text/pstotext/Manifest 2005-07-16 18:35:26.000000000 +0200 +++ /usr/local/portage/app-text/pstotext/Manifest 2005-07-27 15:54:19.000000000 +0200 @@ -1,13 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 2509b1f6b7a5bab8cefcc625c81b2e74 pstotext-1.8g.ebuild 738 MD5 6da8cf56705fd36fb7aa6b56c1c9aec3 ChangeLog 1027 -MD5 8114238320af66caa1e90d5c8f67dce8 pstotext-1.8g.ebuild 681 MD5 84a047e65494c9f47e4af70d3276320f files/digest-pstotext-1.8g 58 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC2TKhcsIHjyDViGQRAkgdAKDE3zMkp/ogtKor1UuRe33dSNsIWwCeKJTZ -IIKHJ5EWhw7am9uAALpVvQ8= -=xfG/ ------END PGP SIGNATURE----- +MD5 7959110be19f6b828a6c39a43b79354f files/pstotext-dsafer.patch 668 diff -Nur /usr/portage/app-text/pstotext/files/pstotext-dsafer.patch /usr/local/portage/app-text/pstotext/files/pstotext-dsafer.patch --- /usr/portage/app-text/pstotext/files/pstotext-dsafer.patch 1970-01-01 01:00:00.000000000 +0100 +++ /usr/local/portage/app-text/pstotext/files/pstotext-dsafer.patch 2005-07-27 15:51:08.000000000 +0200 @@ -0,0 +1,14 @@ +--- pstotext-1.9/main.c~ 2005-06-02 15:42:33.754177096 +0200 ++++ pstotext-1.9/main.c 2005-06-02 15:45:20.412084016 +0200 +@@ -231,9 +231,9 @@ + sprintf( + gs_cmdline, + #ifdef VMS +- "%s -r72 \"-dNODISPLAY\" \"-dFIXEDMEDIA\" \"-dDELAYBIND\" \"-dWRITESYSTEMDICT\" %s \"-dNOPAUSE\" %s %s %s", ++ "%s -r72 \"-dNODISPLAY\" \"-dFIXEDMEDIA\" \"-dDELAYBIND\" \"-dWRITESYSTEMDICT\" %s \"-dNOPAUSE\" \"-dSAFER\" %s %s %s", + #else +- "%s -r72 -dNODISPLAY -dFIXEDMEDIA -dDELAYBIND -dWRITESYSTEMDICT %s -dNOPAUSE %s %s %s", ++ "%s -r72 -dNODISPLAY -dFIXEDMEDIA -dDELAYBIND -dWRITESYSTEMDICT %s -dNOPAUSE -dSAFER %s %s %s", + #endif + gs_cmd, + (debug ? "" : "-q"), diff -Nur /usr/portage/app-text/pstotext/pstotext-1.8g.ebuild /usr/local/portage/app-text/pstotext/pstotext-1.8g.ebuild --- /usr/portage/app-text/pstotext/pstotext-1.8g.ebuild 2005-07-16 18:35:26.000000000 +0200 +++ /usr/local/portage/app-text/pstotext/pstotext-1.8g.ebuild 2005-07-27 15:53:49.000000000 +0200 @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/pstotext/pstotext-1.8g.ebuild,v 1.14 2005/07/16 16:13:38 josejx Exp $ +inherit eutils DESCRIPTION="extract ASCII text from a PostScript or PDF file" HOMEPAGE="http://research.compaq.com/SRC/virtualpaper/pstotext.html" SRC_URI="http://research.compaq.com/SRC/virtualpaper/binaries/pstotext.tar.Z" @@ -18,6 +19,7 @@ S=${WORKDIR}/${PN} src_compile() { + epatch ${FILESDIR}/pstotext-dsafer.patch emake || die }