diff options
author | Matthew Turk <satai@gentoo.org> | 2003-01-03 03:53:38 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2003-01-03 03:53:38 +0000 |
commit | 408feb7fbe16a95ba916d1c12da5e25dd32b2601 (patch) | |
tree | 3fb5284dbea4b18cb66d972fde3ac461f3f53ff8 /app-text/tetex | |
parent | bug 12148 (diff) | |
download | gentoo-2-408feb7fbe16a95ba916d1c12da5e25dd32b2601.tar.gz gentoo-2-408feb7fbe16a95ba916d1c12da5e25dd32b2601.tar.bz2 gentoo-2-408feb7fbe16a95ba916d1c12da5e25dd32b2601.zip |
Closing 11579. Added a line to allow dvips to recognize insecure mode.
Diffstat (limited to 'app-text/tetex')
-rw-r--r-- | app-text/tetex/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/tetex/files/teTeX-1.0-dvips.diff | 11 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r11.ebuild | 21 |
3 files changed, 29 insertions, 9 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog index 6f4774af51ab..47c1eef646a2 100644 --- a/app-text/tetex/ChangeLog +++ b/app-text/tetex/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/tetex # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.18 2002/12/13 10:56:20 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.19 2003/01/03 03:53:38 satai Exp $ + + 02 Jan 2003; Matthew Turk <satai@gentoo.org> : + Added a fix to allow dvips to recognize when secure mode is turned off. + Closes 11579. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/app-text/tetex/files/teTeX-1.0-dvips.diff b/app-text/tetex/files/teTeX-1.0-dvips.diff new file mode 100644 index 000000000000..12aaf5c971b3 --- /dev/null +++ b/app-text/tetex/files/teTeX-1.0-dvips.diff @@ -0,0 +1,11 @@ +--- teTeX-1.0/texk/dvipsk/dvips.c.secure 1999-04-11 08:05:48.000000000 +0100 ++++ teTeX-1.0/texk/dvipsk/dvips.c 2002-08-16 17:42:48.000000000 +0100 +@@ -740,7 +740,7 @@ + cropmarks = (*p != '0') ; + break ; + case 'R': +- secure = 1 ; ++ secure = (*p != '0') ; + break ; + case 'S': + if (*p == 0 && argv[i+1]) diff --git a/app-text/tetex/tetex-1.0.7-r11.ebuild b/app-text/tetex/tetex-1.0.7-r11.ebuild index 4aa379ea5618..cad5ed0c52d9 100644 --- a/app-text/tetex/tetex-1.0.7-r11.ebuild +++ b/app-text/tetex/tetex-1.0.7-r11.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r11.ebuild,v 1.7 2002/12/09 04:17:45 manson Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r11.ebuild,v 1.8 2003/01/03 03:53:38 satai Exp $ + +inherit flag-o-matic IUSE="ncurses X libwww png" @@ -55,15 +57,18 @@ src_unpack() { # Do not run config stuff patch -p1 < ${FILESDIR}/${P}-dont-run-config.diff || die + # Fix for dvips to print directly. + patch -p1 < ${FILESDIR}/teTeX-1.0-dvips.diff || die + # Fix problem where the *.fmt files are not generated due to the LaTeX # source being older than a year. -# local x -# for x in `find ${S}/texmf/ -type f -name '*.ini'` -# do -# cp ${x} ${x}.orig -# sed -e '1i \\scrollmode' ${x}.orig > ${x} -# rm -f ${x}.orig -# done + local x + for x in `find ${S}/texmf/ -type f -name '*.ini'` + do + cp ${x} ${x}.orig + sed -e '1i \\scrollmode' ${x}.orig > ${x} + rm -f ${x}.orig + done } |