summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-05-30 00:25:54 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-05-30 00:25:54 +0000
commit8efe9a34ae669fe53768ab0fcd7fbd0a54b6b3d5 (patch)
treedacbf24395a1894d57880985674e8a00c3307ba7
parentRemove net-dialup/hcfusbmodem, bug 208664 (diff)
downloadhistorical-8efe9a34ae669fe53768ab0fcd7fbd0a54b6b3d5.tar.gz
historical-8efe9a34ae669fe53768ab0fcd7fbd0a54b6b3d5.tar.bz2
historical-8efe9a34ae669fe53768ab0fcd7fbd0a54b6b3d5.zip
Remove app-text/tetex, bug 227443
-rw-r--r--app-text/tetex/ChangeLog779
-rw-r--r--app-text/tetex/Manifest41
-rw-r--r--app-text/tetex/files/iso-8859-7.def144
-rw-r--r--app-text/tetex/files/pst-circ.pro23
-rw-r--r--app-text/tetex/files/tetex-2.0.2-dvi-draw-conflicting-types.patch11
-rw-r--r--app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch12
-rw-r--r--app-text/tetex/files/tetex-2.0.2-flex-unput.patch12
-rw-r--r--app-text/tetex/files/tetex-2.0.2-skip_bibtex_test.patch11
-rw-r--r--app-text/tetex/files/tetex-2.0.2-use-system-libtool.patch336
-rw-r--r--app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch12
-rw-r--r--app-text/tetex/files/tetex-3.0-kpathsea-pic.patch50
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-CVE-2007-0650.patch80
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-amd64-xdvik-wp.patch26
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-create-empty-files.patch24
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-dvipdfm-timezone.patch43
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-dvips_bufferoverflow.patch87
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-fmtutil-etex.patch12
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-mptest.patch10
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-pdftosrc-install.patch19
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch17
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-texmf-site.patch26
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch16
-rw-r--r--app-text/tetex/files/tetex-3.0_p1-xpdf-vulnerabilities.patch140
-rw-r--r--app-text/tetex/files/xdvizilla.patch30
-rw-r--r--app-text/tetex/files/xpdf-2.02pl1-CAN-2005-3191-3.patch252
-rw-r--r--app-text/tetex/files/xpdf-3.00pl2-CAN-2004-1125.patch37
-rw-r--r--app-text/tetex/files/xpdf-3.00pl3-CAN-2005-0064.patch14
-rw-r--r--app-text/tetex/files/xpdf-3.02pl2.patch640
-rw-r--r--app-text/tetex/files/xpdf-CESA-2004-007-xpdf2-newer.diff78
-rw-r--r--app-text/tetex/files/xpdf-goo-sizet.patch57
-rw-r--r--app-text/tetex/files/xpdf2-underflow.patch81
-rw-r--r--app-text/tetex/metadata.xml12
-rw-r--r--app-text/tetex/tetex-2.0.2-r9.ebuild54
-rw-r--r--app-text/tetex/tetex-3.0_p1-r6.ebuild122
34 files changed, 0 insertions, 3308 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
deleted file mode 100644
index a7d2ffae6238..000000000000
--- a/app-text/tetex/ChangeLog
+++ /dev/null
@@ -1,779 +0,0 @@
-# ChangeLog for app-text/tetex
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.175 2009/03/17 15:01:40 mr_bones_ Exp $
-
- 17 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
- tetex-3.0_p1-r6.ebuild:
- restore KEYWORDS until app-text/xetex and dev-tex/xkeyval are modified to not
- need this package.
-
- 10 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
- tetex-2.0.2-r9.ebuild, tetex-3.0_p1-r6.ebuild:
- Drop KEYWORDS for all architectures except mips and m68k to force users
- upgrade to TeXLive
-
- 26 Oct 2008; Alexis Ballier <aballier@gentoo.org> metadata.xml:
- Assign teTeX to maintainer-needed, after a long overdue...
-
- 02 Sep 2008; Alexis Ballier <aballier@gentoo.org> -tetex-2.0.2-r5.ebuild,
- -tetex-2.0.2-r8.ebuild:
- remove unused versions
-
- 05 Jul 2008; <ricmm@gentoo.org> tetex-2.0.2-r5.ebuild:
- Drop to ~mips due to unstable deps
-
- 11 Dec 2007; Alexis Ballier <aballier@gentoo.org> -tetex-3.0_p1-r3.ebuild,
- -tetex-3.0_p1-r4.ebuild, -tetex-3.0_p1-r5.ebuild:
- remove vulnerable versions
-
- 18 Nov 2007; Robert Buchholz <rbu@gentoo.org> tetex-3.0_p1-r6.ebuild:
- amd64 stable (bug #198238)
-
- 18 Nov 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r6.ebuild:
- Stable on ppc64; bug #198238
-
- 18 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- tetex-3.0_p1-r6.ebuild:
- ppc stable, bug #198238
-
- 16 Nov 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r6.ebuild:
- alpha/ia64 stable wrt security #198238
-
- 16 Nov 2007; Ferris McCormick <fmccor@gentoo.org> tetex-3.0_p1-r6.ebuild:
- Sparc stable, security Bug #198238.
-
- 16 Nov 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r6.ebuild:
- Stable for HPPA (bug #198238).
-
- 15 Nov 2007; Markus Meier <maekke@gentoo.org> tetex-3.0_p1-r6.ebuild:
- x86 stable, security bug #198238
-
-*tetex-3.0_p1-r6 (15 Nov 2007)
-
- 15 Nov 2007; Alexis Ballier <aballier@gentoo.org>
- +files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch,
- +tetex-3.0_p1-r6.ebuild:
- yet another rev bump for security holes... bug #198238 and bug #193437
-
- 13 Nov 2007; Samuli Suominen <drac@gentoo.org> tetex-3.0_p1-r5.ebuild:
- amd64 stable wrt security #198238
-
- 08 Nov 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r5.ebuild:
- Stable on ppc64; bug #198238
-
- 08 Nov 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r5.ebuild:
- alpha/ia64 stable wrt security #198238
-
- 08 Nov 2007; Ferris McCormick <fmccor@gentoo.org> tetex-3.0_p1-r5.ebuild:
- Sparc stable --- Security Bug #198238 --- all looks good.
-
- 08 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
- tetex-3.0_p1-r5.ebuild:
- stable x86, security bug 198238
-
- 08 Nov 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r5.ebuild:
- Stable for HPPA (bug #198238).
-
-*tetex-3.0_p1-r5 (07 Nov 2007)
-
- 07 Nov 2007; Alexis Ballier <aballier@gentoo.org>
- +files/tetex-3.0_p1-dvips_bufferoverflow.patch, +files/xpdf-3.02pl2.patch,
- +tetex-3.0_p1-r5.ebuild:
- security fixes for dvips, dviljk bug #198238 and libxpdf bug #196735; quote
- variables
-
- 08 Sep 2007; Steve Dibb <beandog@gentoo.org> tetex-3.0_p1-r4.ebuild:
- amd64 stable, security bug 170861
-
- 05 Sep 2007; Jose Luis Rivero <yoswink@gentoo.org> tetex-3.0_p1-r4.ebuild:
- Stable on sparc wrt security bug #170861
-
- 03 Sep 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- tetex-3.0_p1-r4.ebuild:
- ppc stable, bug #170861
-
- 02 Sep 2007; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r4.ebuild:
- Stable for HPPA (bug #170861).
-
- 02 Sep 2007; Markus Rothe <corsair@gentoo.org> tetex-3.0_p1-r4.ebuild:
- Stable on ppc64; bug #170861
-
- 02 Sep 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r4.ebuild:
- alpha/ia64 stable wrt security #170861
-
- 02 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
- tetex-3.0_p1-r4.ebuild:
- stable x86, security bug 170861
-
-*tetex-3.0_p1-r4 (01 Sep 2007)
-
- 01 Sep 2007; Robert Buchholz <rbu@gentoo.org>
- +files/tetex-3.0_p1-CVE-2007-0650.patch,
- +files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch, +tetex-3.0_p1-r4.ebuild:
- Revision bump fixing security bugs:
- * 170861: Fix various buffer overflows in tetex's code (CVE-2007-0650)
- * 182055: Link to system libgd instead of the old one in tarball (CVE-2007-2756)
- * 188172: Patch for vulnerable XPDF code (CVE-2007-3387)
-
- 01 Sep 2007; Robert Buchholz <rbu@gentoo.org> -tetex-3.0-r3.ebuild,
- -tetex-3.0-r4.ebuild, -tetex-3.0_p1.ebuild, -tetex-3.0_p1-r1.ebuild,
- -tetex-3.0_p1-r2.ebuild, tetex-3.0_p1-r3.ebuild:
- Clean up old versions, update Manifest to new version of texmf (bug #189716)
-
- 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog:
- changed email address of contributor
-
- 11 Jun 2007; Raúl Porcel <armin76@gentoo.org> tetex-3.0_p1-r3.ebuild:
- alpha stable wrt #155489
-
- 19 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> tetex-3.0_p1.ebuild,
- tetex-3.0_p1-r1.ebuild, tetex-3.0_p1-r2.ebuild, tetex-3.0_p1-r3.ebuild:
- Changed SRC_URI from my devspace to mirror://gentoo/ since I am retiring.
-
- 12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml:
- Replaced text-markup by tex as maintaining herd (text-markup split).
-
- 28 Jan 2007; Marius Mauch <genone@gentoo.org> tetex-3.0_p1-r3.ebuild:
- Replacing einfo with elog
-
- 13 Jan 2007; Stephanie Lockwood-Childs <wormo@gentoo.org>
- tetex-2.0.2-r9.ebuild:
- stable on ppc (Bug #154489)
-
- 29 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
- tetex-2.0.2-r9.ebuild:
- stable x86, bug #154489
-
- 29 Nov 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-2.0.2-skip_bibtex_test.patch, tetex-2.0.2-r9.ebuild:
- Skip a BibTeX test that is known to fail on some fresh installs (bug
- #115775, from comment 17).
-
- 15 Nov 2006; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r9.ebuild,
- tetex-3.0_p1-r3.ebuild:
- Stable on ppc64; bug #154489
-
- 10 Nov 2006; <blubb@gentoo.org> tetex-3.0_p1-r3.ebuild:
- stable on amd64
-
- 09 Nov 2006; Jeroen Roovers <jer@gentoo.org> tetex-3.0_p1-r3.ebuild:
- Stable for HPPA (bug #154489).
-
- 08 Nov 2006; Ferris McCormick <fmccor@gentoo.org> tetex-3.0-r3.ebuild,
- tetex-3.0_p1-r3.ebuild:
- Stable sparc for the version I thought I was making stable --- Bug #154489 ---
- thanks to opfer@gentoo.org for pointing this out to me.
-
- 08 Nov 2006; Timothy Redaelli <drizzt@gentoo.org> tetex-3.0_p1-r3.ebuild:
- Stable on ppc. Bug 154489.
-
- 08 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
- tetex-3.0_p1-r3.ebuild:
- stable x86, bug #154489
-
- 08 Nov 2006; Ferris McCormick <fmccor@gentoo.org> tetex-2.0.2-r9.ebuild,
- tetex-3.0-r3.ebuild:
- Stable on sparc --- Bug #154489
-
- 17 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> tetex-2.0.2-r9.ebuild:
- Stable on Alpha.
-
- 15 Jun 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-3.0_p1-r3.ebuild:
- Removed the *virtex symlinks, since they don't make any sense anymore. Use
- *tex -ini ... instead for both initex and virtex, see bug #135548.
-
- 24 May 2006; Martin Ehmsen <ehmsen@gentoo.org>
- files/tetex-3.0-kpathsea-pic.patch:
- Fixed kpathsea-pic USERLAND comparison, using = instead of -eq, bug #134149.
-
- 23 May 2006; Fabian Groffen <grobian@gentoo.org> tetex-2.0.2-r8.ebuild:
- Marked ppc-macos stable (bug #115775)
-
- 23 May 2006; Martin Ehmsen <ehmsen@gentoo.org>
- +files/tetex-3.0_p1-dvipdfm-timezone.patch, tetex-3.0_p1-r3.ebuild:
- Fixed buffer overrun in dvipdfm resulting in segfault, bug #94901.
-
- 27 Apr 2006; Marien Zwart <marienz@gentoo.org>
- files/digest-tetex-2.0.2-r9, files/digest-tetex-3.0-r3,
- files/digest-tetex-3.0-r4, files/digest-tetex-3.0_p1, Manifest:
- Fixing SHA256 digest, pass four
-
- 14 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> tetex-3.0_p1-r3.ebuild:
- Add ~x86-fbsd keyword.
-
- 13 Apr 2006; Martin Ehmsen <ehmsen@gentoo.org>
- files/tetex-3.0-kpathsea-pic.patch, tetex-3.0_p1-r3.ebuild:
- Fixed libtool and symlink problems on MacOS, bug #106886.
-
-*tetex-3.0_p1-r3 (10 Apr 2006)
-
- 10 Apr 2006; Martin Ehmsen <ehmsen@gentoo.org>
- +files/tetex-3.0_p1-create-empty-files.patch,
- +files/tetex-3.0_p1-texmf-site.patch, +tetex-3.0_p1-r3.ebuild:
- Removed dvipng from tetex, it is provided in it own ebuild app-text/dvipng
- (bug #129044). Added a Gentoo site texmf directory (latex-package still
- needs to take advantage of it). Altered the way Makefiles create empty files
- (bug #126918).
-
- 24 Mar 2006; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r9.ebuild:
- Mark 2.0.2-r9 stable on ia64
-
- 19 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
- files/digest-tetex-3.0_p1-r2, Manifest:
- Fixed bad digest and Mainfest, bug #126723.
-
- 16 Mar 2006; Patrick McLean <chutzpah@gentoo.org> tetex-2.0.2-r9.ebuild:
- Stable on amd64.
-
- 16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
- -files/tetex-no-readlink-manpage.diff, -files/tetex-texdoctk-gentoo.patch,
- -tetex-1.0.7-r13.ebuild:
- Removed tetex-1.
-
- 16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
- +files/tetex-3.0_p1-pdftosrc-install.patch, tetex-3.0_p1-r2.ebuild:
- Added pdftosrc binary and man page, bug #94860.
-
- 02 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-2.0.2-r8.ebuild,
- tetex-2.0.2-r9.ebuild:
- Removed usage of missing tetex-2.0.2-flex-compile.patch, bug #124580.
-
- 28 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +files/pst-circ.pro,
- tetex-3.0_p1-r2.ebuild:
- Added pst-circ.pro to /usr/share/texmf/dvips/pstricks thanks to
- Henning Gunther <der_eq@freenet.de>, bug #123714.
-
-*tetex-2.0.2-r9 (01 Mar 2006)
-
- 01 Mar 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-2.0.2-use-system-libtool.patch, tetex-2.0.2-r8.ebuild,
- +tetex-2.0.2-r9.ebuild:
- Make tetex-2 use the system libtool so it can build a shared version of
- libkpathsea and evince is happy. Thanks to Patrick McLean for the patch.
- Closes bug #124134.
-
- 15 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> tetex-3.0_p1-r2.ebuild:
- Use virtualx eclass to fix make test, bug #69439.
-
- 13 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org>
- +files/tetex-2.0.2-flex-unput.patch, tetex-2.0.2-r5.ebuild,
- tetex-2.0.2-r8.ebuild:
- Using supplied lexer rather than generating our own for omegafonts,
- thanks to Chris Torske <ct85711@gmail.com> and caleb, bug #122365.
-
-*tetex-3.0_p1-r2 (08 Feb 2006)
-
- 08 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +tetex-3.0_p1-r2.ebuild:
- Added tete-3.0_p1-r2 which removes now uses pkg_postinst from the eclasses.
- It also pushes the changes made in the eclasses to fix bug #120515, #121811,
- and possible many more.
-
- 08 Feb 2006; Alexandre Buisse <nattfodd@gentoo.org>
- tetex-3.0_p1-r1.ebuild:
- Changed einfo in big ewarn with procedure from bug #120515.
-
- 07 Feb 2006; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r8.ebuild:
- Mark 2.0.2-r8 stable on alpha
-
- 02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +tetex-1.0.7-r13.ebuild:
- Readded tetex-1.0.7-r13 because stuff depends on it (which they shouldn't).
-
- 02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> -tetex-1.0.7-r13.ebuild,
- tetex-3.0_p1-r1.ebuild:
- added export LC_ALL=C to tetex-3 to fix bug #119856.
- Removed tetex-1 since it is old, not used and not ported to modular X.
-
- 25 Jan 2006; Joshua Jackson <tsunam@gentoo.org> tetex-2.0.2-r8.ebuild:
- stable on x86; bug #115775
-
- 25 Jan 2006; Mike Doty <kingtaco@gentoo.org> tetex-2.0.2-r8.ebuild:
- amd64 stable #115775
-
- 24 Jan 2006; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r8.ebuild:
- Stable on ppc64; bug #115775
-
- 24 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
- tetex-2.0.2-r8.ebuild:
- ppc stable, bug #115775
-
- 24 Jan 2006; Rene Nussbaumer <killerfox@gentoo.org> tetex-2.0.2-r8.ebuild:
- Stable on hppa. See bug #115775.
-
- 24 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> tetex-2.0.2-r8.ebuild:
- Stable on sparc wrt security #115775
-
-*tetex-2.0.2-r8 (23 Jan 2006)
-
- 23 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/xpdf-2.02pl1-CAN-2005-3191-3.patch, -tetex-2.0.2-r6.ebuild,
- -tetex-2.0.2-r7.ebuild, +tetex-2.0.2-r8.ebuild:
- Added security fixes from bug #115775 (xpdf buffer overflow)
-
-*tetex-3.0_p1-r1 (22 Jan 2006)
-
- 22 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-3.0_p1-fmtutil-etex.patch,
- +files/tetex-3.0_p1-xpdf-vulnerabilities.patch, +tetex-3.0_p1-r1.ebuild:
- Fixes fmtutil problems with elatex not being found and texi2dvi/etex
- complaining about being stymied, closing bug #98029. Thanks to Tupone
- Alfredo for one of the patches. Also security fixes of xpdf code from bug
- #115775.
-
- 21 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-2.0.2-dvi-draw-conflicting-types.patch,
- tetex-2.0.2-r5.ebuild, tetex-2.0.2-r6.ebuild, tetex-2.0.2-r7.ebuild:
- Added a patch to fix a compilation error in texk/xdvik/dvi-draw.c for
- tetex-2.0.2, closing bug #118264. Credit goes to GerbilSoft.
-
-*tetex-3.0_p1 (13 Jan 2006)
-
- 13 Jan 2006; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-3.0_p1-amd64-xdvik-wp.patch,
- +files/tetex-3.0_p1-mptest.patch, +tetex-3.0_p1.ebuild:
- Use a new tarball provided by upstream with regeneration of autotools files
- with newer version. Corrects bug 113024 with libtool complaining about
- missing --tag. Added a patch to correct a typo for amd64 and skip a broken
- test with metapost (more investigation of that one is needed).
-
-*tetex-3.0-r4 (02 Dec 2005)
-*tetex-2.0.2-r7 (02 Dec 2005)
-
- 02 Dec 2005; Alexandre Buisse <nattfodd@gentoo.org>
- +files/tetex-2.0.2-epstopdf-wrong-rotation.patch,
- +files/tetex-3.0-epstopdf-wrong-rotation.patch, +tetex-2.0.2-r7.ebuild,
- +tetex-3.0-r4.ebuild:
- Bump to fix wrong rotation and handling of filenames with spaces in epstopdf
- (bug #85404). Thanks to Fabio Rossi and Horst Schirmeier for the patch.
-
- 30 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on sh.
-
-*tetex-3.0-r3 (13 Sep 2005)
-
- 13 Sep 2005; <dang@gentoo.org> +files/tetex-3.0-kpathsea-pic.patch,
- +tetex-3.0-r3.ebuild:
- Revbump to make a shared version of libkpathsea. Bug #105418
-
-*tetex-3.0-r2 (09 Apr 2005)
-
- 09 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-3.0-r2.ebuild:
- Added virtex symlink. This closes bug #88187.
-
- 05 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> -tetex-2.0.2-r4.ebuild,
- tetex-2.0.2-r5.ebuild, tetex-2.0.2-r6.ebuild, tetex-3.0-r1.ebuild:
- Changed to use tetex-2 and tetex-3, respectively.
-
- 02 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
- Fixed xdvi toolkit dependency; bug #87375. Removed ~mips for now;
- bug #87627.
-
- 30 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
- Blocks latex-beamer; bug #60835.
-
-*tetex-2.0.2-r6 (21 Feb 2005)
-
- 21 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-2.0.2-r6.ebuild,
- tetex-3.0-r1.ebuild, -tetex-3.0.ebuild:
- Revbump to push out fixed texmf-update. Removed 3.0.
-
- 20 Feb 2005; Aron Griffis <agriffis@gentoo.org> tetex-2.0.2-r5.ebuild:
- stable on ia64 #75801
-
- 13 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> tetex-3.0-r1.ebuild:
- (Hopefully) fixes sandbox violation; bug #81703.
-
-*tetex-3.0-r1 (11 Feb 2005)
-
- 11 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> +tetex-3.0-r1.ebuild:
- Fixed sandbox issue (bug #81533). Uses -sys variants of updmap, texconfig
- and fmtutil. Moved updmap.cfg from /usr/share/texmf/web2c to
- /var/lib/texmf/web2c.
-
-*tetex-3.0 (09 Feb 2005)
-
- 09 Feb 2005; Mamoru KOMACHI <usata@gentoo.org>
- -tetex-2.99.9.20050111.ebuild, +tetex-3.0.ebuild:
- Version bumped. See bug #60835.
-
- 26 Jan 2005; Guy Martin <gmsoft@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on hppa.
-
- 21 Jan 2005; Lars Weiler <pylon@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on ppc; bug #75801.
-
-*tetex-2.99.9.20050111 (21 Jan 2005)
-
- 21 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> -tetex-2.0.2-r3.ebuild,
- -tetex-2.99.3.20041109-r1.ebuild, -tetex-2.99.5.20041207.ebuild,
- +tetex-2.99.9.20050111.ebuild:
- Version bumped.
-
- 21 Jan 2005; Hardave Riar <hardave@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on mips, bug #75801.
-
- 20 Jan 2005; Ferris McCormick <fmccor@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable for sparc, bug 75801. Builds, installs, and seems to create documents
- correctly.
-
- 20 Jan 2005; Markus Rothe <corsair@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on ppc64; bug #75801
-
- 20 Jan 2005; Olivier Cr?te <tester@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on x86 bug 75801
-
- 20 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> tetex-2.0.2-r5.ebuild:
- Stable on alpha, bug 75801.
-
- 19 Jan 2005; Mike Doty <kingtaco@gentoo.org> tetex-2.0.2-r5.ebuild:
- stable on amd64 bug 75801
-
-*tetex-2.0.2-r5 (19 Jan 2005)
-
- 19 Jan 2005; MATSUU Takuto <matsuu@gentoo.org> +files/xdvizilla.patch,
- +files/xpdf-3.00pl2-CAN-2004-1125.patch,
- +files/xpdf-3.00pl3-CAN-2005-0064.patch,
- +files/xpdf-CESA-2004-007-xpdf2-newer.diff, +files/xpdf-goo-sizet.patch,
- +files/xpdf2-underflow.patch, +tetex-2.0.2-r5.ebuild:
- security bump; bug #75801
-
-*tetex-2.99.5.20041207 (09 Dec 2004)
-
- 09 Dec 2004; Mamoru KOMACHI <usata@gentoo.org>
- -tetex-2.99.3.20041109.ebuild, +tetex-2.99.5.20041207.ebuild:
- Version bumepd.
-
-*tetex-2.99.3.20041109-r1 (21 Nov 2004)
-
- 21 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
- -tetex-2.99.1.20041026.ebuild, +tetex-2.99.3.20041109-r1.ebuild:
- Added neXt USE flag.
-
-*tetex-2.99.3.20041109 (19 Nov 2004)
-
- 19 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
- +tetex-2.99.3.20041109.ebuild:
- Added new beta version.
-
- 07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +files/iso-8859-7.def,
- tetex-2.0.2-r4.ebuild:
- Added iso-8859-7.def. Thanks to Pantelis Panayiotou <oss@hyperlife.com.cy>;
- bug #65093.
-
-*tetex-2.99.1.20041026 (28 Oct 2004)
-*tetex-2.0.2-r4 (28 Oct 2004)
-
- 28 Oct 2004; Mamoru KOMACHI <usata@gentoo.org>
- -files/tetex-2.96.7.20040721-dont-run-config.diff,
- -files/tetex-2.96.7.20040721.diff,
- +files/tetex-2.99.1.20041026-dont-run-config.diff,
- +files/tetex-2.99.1.20041026-etex.diff, +files/tetex-2.99.1.20041026.diff,
- +tetex-2.0.2-r4.ebuild, -tetex-2.96.7.20040721.ebuild,
- +tetex-2.99.1.20041026.ebuild:
- Version bumped (bug #60835). Added 2.0.2-r4 to push out xdvi fix(bug #68883).
-
-*tetex-2.96.7.20040721 (17 Oct 2004)
-
- 17 Oct 2004; Mamoru KOMACHI <usata@gentoo.org>
- +files/tetex-2.96.7.20040721-dont-run-config.diff,
- +files/tetex-2.96.7.20040721.diff, +tetex-2.96.7.20040721.ebuild:
- Added tetex-beta distribution; bug #60835.
-
- 17 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r13.ebuild:
- Corrected missing dvips-secure.diff. (It was in patch archive but not
- applied.) This closes bug #60603.
-
- 04 Aug 2004; Daniel Black <dragonheart@gentoo.org> :
- Manifest fix - contained removed patch
-
- 31 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> -files/teTeX-1.0-dvips.diff,
- -files/teTeX-1.0-gentoo.diff, -files/tetex-1.0.7-dont-run-config.diff,
- -files/tetex-1.0.7-dvips-secure.diff, -files/tetex-1.0.7-picins.diff,
- tetex-1.0.7-r13.ebuild:
- Archived patches in files directory and put them on Gentoo mirrors.
-
- 01 Jul 2004; Tom Gall <tgall@gentoo.org> tetex-2.0.2-r3.ebuild:
- stable on ppc64, bug #54799
-
- 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> tetex-2.0.2-r3.ebuild:
- Workaround for BUG #50417. Replacing -O3 by -O2 on amd64.
-
- 25 Mar 2004; Joshua Kinard <kumba@gentoo.org> tetex-2.0.2-r3.ebuild:
- Marked stable on mips.
-
- 09 Mar 2004; <agriffis@gentoo.org> tetex-2.0.2-r3.ebuild:
- stable on alpha and ia64
-
- 25 Feb 2004; Joshua Kinard <kumba@gentoo.org> tetex-2.0.2-r3.ebuild:
- Added ~mips to KEYWORDS to satisfy repoman deps.
-
- 21 Feb 2004; Jason Wever <weeve@gentoo.org> tetex-2.0.2-r3.ebuild:
- Marked stable on sparc, fixes bug #37110.
-
- 21 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r13.ebuild,
- tetex-2.0.2-r1.ebuild, tetex-2.0.2-r3.ebuild:
- Removed inherit eutils and flag-o-matic since epatch and filter-flags
- are now part of portage. Also moved filter-flags to src_compile() to
- kill "has_version() in global scope" warning.
-
- 31 Dec 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r1.ebuild,
- tetex-2.0.2-r3.ebuild:
- Removed ~mips and ~arm, as a dependency (libwww) is not available on those
- architectures
-
- 09 Dec 2003; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r13.ebuild,
- tetex-2.0.2-r1.ebuild, tetex-2.0.2-r3.ebuild:
- tetex has NO reason to install a crap readlink man page. man-pages provides a
- superior version anyway, so added patch to disable installing it
-
-*tetex-2.0.2-r3 (13 Nov 2003)
-
- 11 Jan 2004; Guy Martin <gmsoft@gentoo.org> tetex-2.0.2-r3.ebuild :
- Marked stable on hppa.
-
- 13 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-2.0.2-r3.ebuild:
- inherit tetex.eclass (app-text/ptex and app-text/cstetex inherit it
- too). Mostly identical to tetex-2.0.2-r2, but take care of symlinks
- left behind /usr/bin after unmerge. See bug #31657.
-
-*tetex-2.0.2-r2 (04 Nov 2003)
-
- 04 Nov 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r2.ebuild:
- Added fix for hyperref, see bug #31967. A few small ebuild changes
-
- 07 Oct 2003; John Mylchreest <johnm@gentoo.org>; tetex-2.0.2-r1.ebuild:
- fixing POSIX 1003.1-2001 chown change. '.' now ':'
-
- 30 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
- tetex-1.0.7-r13.ebuild:
- Removed control character from picins.sty. Thanks to Jan Fikar
- <jan.fikar@ext.univ-poitiers.fr> for reporting the bug on #28180.
-
- 27 Sep 2003; Mike Gardiner <obz@gentoo.org> tetex-2.0.2-r1.ebuild,
- tetex-2.0.2.ebuild:
- Fixed listings.sty location, and marked stable on x86. Thanks to John Steele
- Scott <toojays@toojays.net> for help on bug #29723
-
- 18 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
- tetex-1.0.7-r13.ebuild, tetex-2.0.2-r1.ebuild, tetex-2.0.2.ebuild:
- Explicitly specify !app-text/ptex in DEPEND list.
-
- 09 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild,
- tetex-1.0.7-r13.ebuild, tetex-2.0.2-r1.ebuild, tetex-2.0.2.ebuild,
- files/tetex-1.0.7-dvips-secure.diff, files/tetex-1.0.7-r11-gentoo.diff,
- files/tetex-1.0.7-r12-gentoo.diff, files/tetex-2.0-dont-run-config.diff,
- files/tetex-2.0.diff, files/texmf.dif:
- Simplified tetex-1.0.7-r??-gentoo.diff. This closes Bug #28136.
- Removed old unnecessary patches.
-
-*tetex-2.0.2-r1 (06 Sep 2003)
-*tetex-1.0.7-r13 (06 Sep 2003)
-
- 06 Sep 2003; Daniel Robbins <drobbins@gentoo.org> tetex-2.0.2-r1.ebuild,
- tetex-1.0.7-r13.ebuild: removed png, libwww and ncurses USE variables, which
- were off by default. This fixes bugs 14709 and 20843. We want tetex to use
- *our* libpng, libwww and ncurses packages so that we can track dependencies
- correctly. The internal libwww was using mysql sometimes, resulting in fried
- compiles since it seemed to often mis-detect mysql availability. Our libwww
- ebuild does much better. Also added an RDEPEND fix (tons of stuff was
- missing.)
-
- 14 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-1.0.7-r12.ebuild: Added
- virtual/tetex PROVIDE
-
- 02 Aug 2003; Todd Sunderlin <todd@gentoo.org> tetex-2.0.2.ebuild:
- Marked stable for sparc
-
-*tetex-2.0.2 (14 Mar 2003)
-
- 29 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> tetex-2.0.2.ebuild:
- Added virtual/tetex. app-text/ptex (Japanized teTeX) also provides
- virtual/tetex.
-
- 12 Apr 2003; Joshua Brindle <method@gentoo.org> tetex-1.0.7-r12.ebuild,
- tetex-2.0.2.ebuild:
- added filter-flag -fstack-protector
-
- 09 Apr 2003; Matthew Turk <satai@gentoo.org> tetex-1.0.7-r12.ebuild,
- tetex-2.0.2.ebuild:
- Updated homepage variable. Thanks to Eric Sammer!
-
- 14 Mar 2003; Matthew Turk <satai@gentoo.org> tetex-2.0.2.ebuild,
- files/tetex-2.0.2-dont-run-config.diff, files/tetex-2.0.2.diff:
- Version bump. Not many changes. Still not using texmf-gg.
-
- 25 Feb 2003; Guy Martin <gmsoft@gentoo.org> tetex-1.0.7-r10.ebuild :
- Added hppa to keywords.
-
- 07 Feb 2003; Matthew Turk <satai@gentoo.org> :
- Config protect /usr/share/texmf/tex/generic/config/
- /usr/share/texmf/tex/platex/config/ in order to keep hyphenation patterns
- between updates.
-
- 06 Feb 2003; Matthew Turk <satai@gentoo.org> :
- Re-enable vardir font creation. This fixes letting ordinary users generate
- font metrics.
-
-*tetex-2.0-r1 (05 Feb 2003)
-
- 21 Feb 2003; Aron Griffis <agriffis@gentoo.org> tetex-2.0-r1.ebuild :
- Mark stable on Alpha
-
- 05 Feb 2003; Matthew Turk <satai@gentoo.org> :
- Revision bump. Added a patch to fix the local tree. Also enabled a number
- of Babel formats. Installation should be all fixed now, too.
-
- 04 Feb 2003; Matthew Turk <satai@gentoo.org> : tetex-2.0.ebuild
- Fixed installation woes; will now manually remove /usr/share/texmf/dvipdfm if
- it exists. This should clear up problems with conflicts between versions of
- dvipdfm storing configuration in slightly different fashions.
-
- 05 Feb 2003; Martin Schlemmer <azarah@gentoo.org> tetex-2.0.ebuild :
- Updated to use epatch.
-
- 03 Feb 2003; Matthew Turk <satai@gentoo.org> tetex-1.0.7-r12.ebuild :
- Fixed tetex-1.0.7-r12 to install manpages in correct location. The make
- install function seems to be broken in 1.0.7, so I had to hardcode man1 into
- it. This is not the case in 2.0. Didn't bump revision so as to encourage
- testing of 2.0.
-
-*tetex-2.0 (02 Feb 2003)
-
- 02 Feb 2003; Matthew Turk <satai@gentoo.org> tetex-2.0.ebuild :
- teTeX-2.0 is released! This should fix *so* many bugs it's just
- unbelievable... Still leaving marked unstable for the freeze, however.
-
- 18 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r12.ebuild :
- Fix bug 13789 again, this time by taking Felix's suggestion. Thought I had
- it fixed the first time, this time I'm even more thinkful.
-
- 18 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r12.ebuild :
- Fix bug 13789 by pulling in a couple hints from the RH rpm, specifically the
- texmfmain=... part. Fixed a typo in the specification of datadir and use
- econf/emake/einstall. Also check for USE=zlib.
-
-*tetex-20030112 (13 Jan 2003)
-
- 13 Jan 2003; Matthew Turk <satai@gentoo.org> tetex-20030112.ebuild :
- Version bump to a pretest, for those who wish to help out. Masked in
- package.mask.
-
- 07 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r11.ebuild :
- Add alpha to KEYWORDS
-
- 03 Jan 2003; Matthew Turk <satai@gentoo.org> :
- Uncommented the scrollmode fix, which should allow fmtutil to work properly.
-
- 02 Jan 2003; Matthew Turk <satai@gentoo.org> :
- Added a fix to generate all missing format files upon installation.
-
- 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
-
-*tetex-1.0.7-r12 (12 Apr 2003)
-
- 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
- Added missing changelog entry.
-
-*tetex-1.0.7-r11 (18 Oct 2002)
-
- 07 Nov 2002; Nicholas Jones <carpaski@gentoo.org> :
- unpack line fix.
-
- 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
- Security update.
-
- 21 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-1.0.7-r10.ebuild :
-
- Backport all the fixes in tetex-20020901-r1.ebuild. Only problem now is
- that it seems that portage do not change permissions on a directory if
- it already exists ...
-
- 19 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-20020901-r1.ebuild :
-
- Ok, this stupid thing still had problems with ownership and unpacking
- on one of my boxes. Should be fixed now.
-
- 16 Sep 2002; Martin Schlemmer <azarah@gentoo.org> tetex-20020901-r1.ebuild :
-
- Some cleanups and <tab> fixes. Fix permissions on /usr/share/texmf
- (fowners is not recursive). Add a patch for not running the config
- stuff during 'make install', as we should rather do it in src_unpack().
-
-*tetex-20020901-r1 (11 Sep 2002)
-
- 11 Sep 2002; satai <satai@gentoo.org> tetex-20020901-r1.ebuild :
-
- Added patch to change TEXMFLOCAL to /usr/local/share/texmf .
-
-*tetex-20020901 (11 Sep 2002)
-
- 11 Sep 2002; satai <satai@gentoo.org> tetex-20020901-r1.ebuild :
-
- Fixed (kludgy) texconfig problem by replacing tcdialog with dialog from
- ncurses. Remains unchanged for USE=-ncurses.
-
-*tetex-20020901 (05 Sep 2002)
-
- 05 Sep 2002; satai <satai@gentoo.org> tetex-20020901.ebuild :
-
- Added new, pretest version. Should fix LOTS of problems...
-
-*tetex-1.0.7-r11 (22 Aug 2002)
-
- 22 Aug 2002; satai <satai@gentoo.org> tetex-1.0.7-r11.ebuild :
-
- Changed default behavior to fix numerous bugs - now font generation is, by
- default, available for all users.
-
-*tetex-1.0.7-r10 (20 Jun 2002)
-
- 2 Aug 2002; phoen][x <phoenix@gentoo.org> tetex-1.0.7-r10.ebuild :
- Added SLOT.
-
- 15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
-
- Added KEYWORDS.
-
- 20 Jun 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r10.ebuild
- files/digest-tetex-1.0.7-r10 :
-
- Fixed libwww configure option, so it now knows where to look for the
- headers. This closes bug #3928 by marktrolley@gmail.com (Mark Trolley)
-
-*tetex-1.0.7-r9 (24 Apr 2002)
-
- 25 Mar 2003; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r9.ebuild:
- removed ncurse from IUSE
-
- 2 Aug 2002; phoen][x <phoenix@gentoo.org> tetex-1.0.7-r9.ebuild :
- Added SLOT.
-
- 24 Apr 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r9.ebuild
- files/digest-tetex-1.0.7-r9 :
-
- Fixed the permissions problem so that 501.501 is not the owner on
- /usr/share/texmf files. The solution was presented in bug #1901 by
- bardur-gta@odense.kollegienet.dk (Bardur Arantsson)
-
- 13 Apr 2002; M.Schlemmer <azarah@gentoo.org> tetex-1.0.7-r8.ebuild :
-
- Fix the DEPEND and RDEPEND to actually specify libpng-1.2.1.
-
-*tetex-1.0.7-r8 (12 Apr 2002)
-
- 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r8.ebuild :
-
- Compile against newest libpng
-
-*tetex-1.0.7-r7 (1 Feb 2002)
-
- 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
- Added initial ChangeLog which should be updated whenever the package is
- updated in any way. This changelog is targetted to users. This means that the
- comments should well explained and written in clean English. The details about
- writing correct changelogs are explained in the skel.ChangeLog file which you
- can find in the root directory of the portage repository.
diff --git a/app-text/tetex/Manifest b/app-text/tetex/Manifest
deleted file mode 100644
index c4032af15292..000000000000
--- a/app-text/tetex/Manifest
+++ /dev/null
@@ -1,41 +0,0 @@
-AUX iso-8859-7.def 4419 RMD160 89cec35cd02edb20aee902ef3291fb0b24b0a5aa SHA1 c1e6b8fcf237d4e4752f4809ee36aa80120f9bd2 SHA256 416c45c4b7578414ba62094b95923dfd58571256b7267246ee3f2025f09111dc
-AUX pst-circ.pro 661 RMD160 035f7330b14c46c2a92069147e30b2de4f4764f0 SHA1 81f22fcf880e99d258c17488156742740e6751fe SHA256 0d6f2fbcc4f8aa69f8974fcc803be6748407fe1ad64181c357364bdd308919e4
-AUX tetex-2.0.2-dvi-draw-conflicting-types.patch 410 RMD160 8417f8ee01a46fe1c066d7fd2cd20c7f33ab0a52 SHA1 ff903e1b682d320eb10f17da49146e680953c02b SHA256 5f6a525bb57f25a722178716e142a6555058903be0ce3944263b424896941126
-AUX tetex-2.0.2-epstopdf-wrong-rotation.patch 525 RMD160 e91170dbe19f8f56706159349e55aac1f77d47bc SHA1 78bc1c2091eadfa32870910a6188de5f13421157 SHA256 7a1787521bbffc0bf74e59e658bc5fc38916e7e10ee840e88b5357aa9096df4b
-AUX tetex-2.0.2-flex-unput.patch 498 RMD160 834d9c73bcbd2cecedd51c31b38e742e6919b31f SHA1 e2c95d2ddf811647f0dae5eb977b2b5555ce2233 SHA256 40305736699ab42b68203b43483f669aee57b98dad5ee60eb05d19d8e5d7652d
-AUX tetex-2.0.2-skip_bibtex_test.patch 632 RMD160 7665b17ab552afef10f7a8dad521fdfc923b53a0 SHA1 9abe4ab80dd72792d228c56e0f7b70e314da52ef SHA256 29e7bfa84e4794de82bd78047024c4b5aa3b33cbe8adc88384eb0e53c22b5f89
-AUX tetex-2.0.2-use-system-libtool.patch 15523 RMD160 272ea8cbbdf8d56516d819036a56e5045caccef5 SHA1 b92ed1d24e828bc31b541d39f0f88bfc79c1fb77 SHA256 356293ef8f95b444dfa98d052aa3fd58f03d9baf916ce462b712fd1dfec81b8d
-AUX tetex-3.0-epstopdf-wrong-rotation.patch 521 RMD160 214286fa8333858a5627b8f88c6d540401ce2217 SHA1 a102888d9b1236e45146f962589e1d8fe8c7e54c SHA256 10f1987f03fc28d1cb5d13c090f0c508c1517c6acb02c65d91c93a0e8a01f683
-AUX tetex-3.0-kpathsea-pic.patch 1791 RMD160 30c7da6951977eab26323509b7034a9a1cb6a809 SHA1 d5a894337e87c04daf2f98fdb3fcdab9cf55c8f2 SHA256 d00020bd51264210be5425d2392e373b9f3964302e4f24401c398f3704631691
-AUX tetex-3.0_p1-CVE-2007-0650.patch 2615 RMD160 3e3f55a17e35e3da3a6f77d62939ed66d8ae5222 SHA1 28208eb13f493c1c9c6538f254f04fc0c2aaff1e SHA256 9cb5525070bc4ea0685ac8a2f87df1dbbd2dcee4989e7b22c9897acfe6b67628
-AUX tetex-3.0_p1-amd64-xdvik-wp.patch 847 RMD160 e43bb9467e2e2ee072e7b77c755ec91c5a78e515 SHA1 2d2dfc52015b2b62a4eb1fc815edef2dc2c5c03b SHA256 f5dd9e2d2f74591370661992a082c4db92648eab6057435d0a8d377457571bef
-AUX tetex-3.0_p1-create-empty-files.patch 1171 RMD160 908bfb3dedd721e021fc16c1ed9bee1159e5f947 SHA1 e929b5d8272ae81a65c726f139d4cfe14ea9a4a5 SHA256 3c2efa2cc82fccd5452e3ba49a9207264bcf06d2a4467158f4d5f45bd84b3268
-AUX tetex-3.0_p1-dvipdfm-timezone.patch 1546 RMD160 9be8bb58b3be7add25ce30acb4eee08b35c85c5f SHA1 e3824f4fefa52927dda1327fb073c256e700ee14 SHA256 a441179d3f09c7faca63ccf85cd84ad64d117835ad925f33b0fcbc882ed9c827
-AUX tetex-3.0_p1-dvips_bufferoverflow.patch 3032 RMD160 d82c40767b8614180e1487a95c923b99e92161b5 SHA1 1616aff45e9412ad861d75019a2c88a5122e5b23 SHA256 d5942c40589199d19dd4407b9bcdfeb13a2559de59e70ca986c3c16040788f6b
-AUX tetex-3.0_p1-fmtutil-etex.patch 809 RMD160 1e366196609160db8a51b33a9203d0be41e6e644 SHA1 13a976c990d608fd9a9ba9bf9b18ed768a10feee SHA256 a024aad1fbdb53bf328ce2aeb7a4649da9c501442b313f4c361c9de0f7a4dd44
-AUX tetex-3.0_p1-mptest.patch 367 RMD160 5669a8c815ecbc5d3bb03281f50360cad86c6e3a SHA1 0c1f6ab9e2cec3af63d10cabd802f10d6c3a0d07 SHA256 07b84a63d174a401d77ca62031fd1258496789038dd013c52896d9853efe10cd
-AUX tetex-3.0_p1-pdftosrc-install.patch 970 RMD160 9ab2fbcbf2ca9789eb17ce5b482bae95703cbf39 SHA1 5285bda19c49325d9e39b5a5aa35da7980ac5ff4 SHA256 e21d2c77a719b8688b577d48197527d7021cc1e725694229d2b285f6ca31ae15
-AUX tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch 627 RMD160 9c4b663fa960bbac698a70f808ce1fd75d4083e9 SHA1 095673160925babe6717225071dfb1da6583043c SHA256 e27c3f797280b668833dcb663c6808afd7e8c926725ac5e3847e7e6463d75849
-AUX tetex-3.0_p1-texmf-site.patch 1289 RMD160 f7d352494acc84d70e404948310ef445d79c01b8 SHA1 5eec0cbc3211509fb8b0157cdd3dc288665b7ac7 SHA256 b444545ef6ed98d65d18a123c02b8452345fc3808ae7c2f22cf2205627b8f012
-AUX tetex-3.0_p1-xpdf-CVE-2007-3387.patch 516 RMD160 fcfa307061c6052cec241adda6d7541105afa5bf SHA1 4435c9ccda332826c61d4a839fc608b5857d6cd6 SHA256 7cebc7643f54462de5504aeb6c331860beb9aae947bc80132d0ac8f9b0a2f109
-AUX tetex-3.0_p1-xpdf-vulnerabilities.patch 4069 RMD160 e319c2212bdc7883fba436b7ac426cf10d734059 SHA1 82b90be026ba30eb621fdcc354bff23e797565eb SHA256 aa978d95ead2626eba04062b75abaab4a0c90d284a1f62461dc6195ed26e6962
-AUX xdvizilla.patch 912 RMD160 79bf98f5b05cdc4e99147809e1ec6895e8843097 SHA1 3b8650a43b596beba305a9b9e3ed736ae6daf77f SHA256 cb7f0ca4758cd20d5a0a819dd87caa8f2d1df64aaac458e13b4bb3c43deb5204
-AUX xpdf-2.02pl1-CAN-2005-3191-3.patch 7060 RMD160 3aa0387ac8bb005193bf4d5e190c8e43b2729a09 SHA1 b2f24dc58362c10aa9f85b9c6e9d4cacd3134e99 SHA256 d96036af3be0bab42b42abad600c7ef49f62b079b3deaa4108c999269be0c6f3
-AUX xpdf-3.00pl2-CAN-2004-1125.patch 1136 RMD160 f11de185e9f7893b0bfb744db01739af13b5741e SHA1 6b476e011d340351a6122e027b4822a836a7413c SHA256 47dc9849b67313c7c7b6545ea8df4a9f97ceeffe818eb1a8e5eeeb3339bcb9ea
-AUX xpdf-3.00pl3-CAN-2005-0064.patch 346 RMD160 7fb5521b698589245f9e0ccea753a6d4e30badf8 SHA1 c29b9ea13d1f8567a4521e12d50e497bf1681608 SHA256 c51f769fcac31cbb95dd3124deb1b658e0874a3a90fe17d9752c9be937773621
-AUX xpdf-3.02pl2.patch 16908 RMD160 bc1fd86527442f44ec5cfec754f2053b700a3dbf SHA1 620ec9fe4a4d63766b35bbeaa3261fd772e54a15 SHA256 a7e993257d8ad3b03f9d509973db141823496873c192ed4335ce66f744c468a6
-AUX xpdf-CESA-2004-007-xpdf2-newer.diff 2718 RMD160 0cf60c817b9868896c7d6fa678978c2c1244618c SHA1 ae1dc4e938501be9e2154dea2aecd79abd6ae9be SHA256 7df6d659edd6c79f89e0b2a54c65b9ae27dca57c00e7650fd3ae6273e7dc2ed1
-AUX xpdf-goo-sizet.patch 1424 RMD160 c52769d3ac95b372593e22d46ad4742dc44e47d3 SHA1 a4883eaa770acca923fb48aecf72d7b68fea16b7 SHA256 d1a75bcb1764383ee1f5bd1c2d678cdadc69cd123069657f1dced0825964cbb0
-AUX xpdf2-underflow.patch 2363 RMD160 110c32f97715d3eb0bcdf19db41a0ac7465d75d1 SHA1 722864fc52c418944c3b373543d0ed93a40aa0ab SHA256 88a06ef62c423805a0fed011db59e9c170a2482c29f0359dec8ae962395a28ba
-DIST tetex-2.0.2-gentoo.tar.gz 1704 RMD160 f32700bfe389c9c15a72344770c7abe2ee048c38 SHA1 655379c710004ffe2cc65acf6c2efd424cecd109 SHA256 331ac072cf658c22b983b16439dc0e6f95cac0cc95f4d993fcb4bad883ea2622
-DIST tetex-3.0_p1-dviljk-security-fixes.patch.bz2 8797 RMD160 ac8499fcc818c4d8fe69b9e2d7fcbe04514d3a04 SHA1 860d526d64d06a836e472aa61c76ecb0c932794f SHA256 30e14cbed1ac1f2f6b5c5f0066c54394d7f2f215fb96ec3870282947ad33c520
-DIST tetex-3.0_p1-gentoo.tar.gz 604 RMD160 5da9d211792ab81d072f0fed65ac737aa3074a6b SHA1 e1f78f0d0136b80a8c51f66df40d098d5385249d SHA256 4e9236349a6d849db06fefcbbf5af7c333199312b461a06840cb8fd2eddd1ac6
-DIST tetex-src-2.0.2.tar.gz 11745933 RMD160 9bbb274c0598547bcecb00ff48e459d41bc65e93 SHA1 6445206b14d659458ee352df78d2c2daf8e88ab3 SHA256 9f8a35b3abd293d71fa6785a4c3e6aa4fdaeff03ae71863ad5ec9e1a9fc087f5
-DIST tetex-src-3.0_p1.tar.gz 13357541 RMD160 24d5029619675ce597782562bc1b87052235d461 SHA1 7d8a9be1d13881064b84c6ef84f74bec8f8724d3 SHA256 e67fff941ba95222ac8f0e17395446723fd78045fc2ff548ca40cc72086a4cc1
-DIST tetex-texmf-2.0.2.tar.gz 52424280 RMD160 ff88622c2d97416a4f67fbdf7a00d837af35d94e SHA1 9ad88d5fc1df7e10b3538f7b5e3871ceefe8ee2f SHA256 0d5c4adb7a72a33fffa9eeb5e3137e0094c912eafc45e358ca20cd9257f79f0d
-DIST tetex-texmf-3.0.tar.gz 91402377 RMD160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 SHA1 1be97f57a26a6e9b72ebfd932e45914a959aff16 SHA256 6c3b8fa619749cbb28ca0f8847e56773d13e0bb92f1ea34287420950373640c2
-DIST tetex-texmfsrc-2.0.2.tar.gz 22909537 RMD160 bc444152b2f45cf3c0a743f6416134e31e8635b4 SHA1 59c5a328800225c44beec9a9baf0f4223ac633c3 SHA256 9348f10c9e95fdb5e9a9702956cfce38be42c48621fcfc6c9ae192363e08d267
-EBUILD tetex-2.0.2-r9.ebuild 1706 RMD160 77d7c9ec42f5d7dca89971f58fbeef2975d6f70c SHA1 3303a56694281f7c3e7b8eb0b46a5c610eab669a SHA256 1d2d648526cf44b0c8c6d2a593e2cf50e70aa1c37b507f21127ea3862c4f1956
-EBUILD tetex-3.0_p1-r6.ebuild 3264 RMD160 d7520ca47d65691093bd1d8ef8593c6fd88d4fd9 SHA1 e7ba36d8d6ec2d999c1915e1ee3de81a6c880e0c SHA256 391b65bba4227d7fd1136eae6328304ca5ac88d0395f357044f7cbf9022b1969
-MISC ChangeLog 29980 RMD160 1f00172203ab0806465de13e188beffa4e2fd002 SHA1 767a4e2e3e705f87c3ab915ebc057631e8bc644d SHA256 7d0da1a77a3a8fc51bc8f978f966b32c393ef9e9476c51cf9a61e86c2323b2e3
-MISC metadata.xml 471 RMD160 fbf387764e5efe557a2db1963137888734bf2f3f SHA1 04ed748f7fe3aace6f5bce9f8740f6be210a494d SHA256 a179a0ed2e66105f76c08a841834ed6b21c9eb330b4b22bdacd52ebab1baa2e6
diff --git a/app-text/tetex/files/iso-8859-7.def b/app-text/tetex/files/iso-8859-7.def
deleted file mode 100644
index 18894e822c87..000000000000
--- a/app-text/tetex/files/iso-8859-7.def
+++ /dev/null
@@ -1,144 +0,0 @@
- \ProvidesFile{iso-8859-7.def}
- [2000/05/28 v1.2 Greek input encoding file]
-\message{iso-8859-7 input encoding file by Apostolos Syropoulos with modifications by C.Beccari)}
-\DeclareInputText{128}{\textbullet}
-\DeclareInputText{129}{\textbullet}
-\DeclareInputText{130}{\textbullet}
-\DeclareInputText{131}{\textbullet}
-\DeclareInputText{132}{\textbullet}
-\DeclareInputText{133}{\textbullet}
-\DeclareInputText{134}{\textbullet}
-\DeclareInputText{135}{\textbullet}
-\DeclareInputText{136}{\textbullet}
-\DeclareInputText{137}{\textbullet}
-\DeclareInputText{138}{\textbullet}
-\DeclareInputText{139}{\textbullet}
-\DeclareInputText{140}{\textbullet}
-\DeclareInputText{141}{\textbullet}
-\DeclareInputText{142}{\textbullet}
-\DeclareInputText{143}{\textbullet}
-\DeclareInputText{144}{\textbullet}
-\DeclareInputText{145}{``}
-\DeclareInputText{146}{''}
-\DeclareInputText{147}{``}
-\DeclareInputText{148}{''}
-\DeclareInputText{149}{\textbullet}
-\DeclareInputText{150}{\textbullet}
-\DeclareInputText{151}{\textbullet}
-\DeclareInputText{152}{\textbullet}
-\DeclareInputText{153}{\textbullet}
-\DeclareInputText{154}{\textbullet}
-\DeclareInputText{155}{\textbullet}
-\DeclareInputText{156}{\textbullet}
-\DeclareInputText{157}{\textbullet}
-\DeclareInputText{158}{\textbullet}
-\DeclareInputText{159}{\textbullet}
-\DeclareInputText{160}{\textbullet}
-\DeclareInputText{161}{\textbullet}
-\DeclareInputText{162}{'A}
-\DeclareInputText{163}{\textbullet}
-\DeclareInputText{164}{\textbullet}
-\DeclareInputText{165}{\textbullet}
-\DeclareInputText{166}{\textbullet}
-\DeclareInputText{167}{\textbullet}
-\DeclareInputText{168}{\textbullet}
-\DeclareInputText{169}{\textbullet}
-\DeclareInputText{170}{\textbullet}
-\DeclareInputText{171}{((}
-\DeclareInputText{172}{\textbullet}
-\DeclareInputText{173}{\textbullet}
-\DeclareInputText{174}{\textbullet}
-\DeclareInputText{175}{\textbullet}
-\DeclareInputText{176}{\textbullet}
-\DeclareInputText{177}{\textbullet}
-\DeclareInputText{178}{\textbullet}
-\DeclareInputText{179}{\textbullet}
-\DeclareInputText{180}{\textbullet}
-\DeclareInputText{181}{\textbullet}
-\DeclareInputText{182}{'A}
-\DeclareInputText{183}{\textbullet}
-\DeclareInputText{184}{'E}
-\DeclareInputText{185}{'H}
-\DeclareInputText{186}{'I}
-\DeclareInputText{187}{))}
-\DeclareInputText{188}{'O}
-\DeclareInputText{189}{\textbullet}
-\DeclareInputText{190}{'U}
-\DeclareInputText{191}{'W}
-%\DeclareInputText{192}{"'i}
-\chardef\idiaerac=242
-\DeclareInputText{192}{\char\idiaerac}
-\DeclareInputText{193}{A}
-\DeclareInputText{194}{B}
-\DeclareInputText{195}{G}
-\DeclareInputText{196}{D}
-\DeclareInputText{197}{E}
-\DeclareInputText{198}{Z}
-\DeclareInputText{199}{H}
-\DeclareInputText{200}{J}
-\DeclareInputText{201}{I}
-\DeclareInputText{202}{K}
-\DeclareInputText{203}{L}
-\DeclareInputText{204}{M}
-\DeclareInputText{205}{N}
-\DeclareInputText{206}{X}
-\DeclareInputText{207}{O}
-\DeclareInputText{208}{P}
-\DeclareInputText{209}{R}
-\DeclareInputText{210}{\textbullet}
-\DeclareInputText{211}{S}
-\DeclareInputText{212}{T}
-\DeclareInputText{213}{U}
-\DeclareInputText{214}{F}
-\DeclareInputText{215}{Q}
-\DeclareInputText{216}{Y}
-\DeclareInputText{217}{W}
-%\DeclareInputText{218}{"I}
-%\DeclareInputText{219}{"U}
-\chardef\Idiaer=219
-\chardef\Udiaer=223
-\DeclareInputText{218}{\char\Idiaer}
-\DeclareInputText{219}{\char\Udiaer}
-\DeclareInputText{220}{'a}
-\DeclareInputText{221}{'e}
-\DeclareInputText{222}{'h}
-\DeclareInputText{223}{'i}
-%\DeclareInputText{224}{"'u}
-\chardef\udiaerac=246
-\DeclareInputText{224}{\char\udiaerac}
-\DeclareInputText{225}{a}
-\DeclareInputText{226}{b}
-\DeclareInputText{227}{g}
-\DeclareInputText{228}{d}
-\DeclareInputText{229}{e}
-\DeclareInputText{230}{z}
-\DeclareInputText{231}{h}
-\DeclareInputText{232}{j}
-\DeclareInputText{233}{i}
-\DeclareInputText{234}{k}
-\DeclareInputText{235}{l}
-\DeclareInputText{236}{m}
-\DeclareInputText{237}{n}
-\DeclareInputText{238}{x}
-\DeclareInputText{239}{o}
-\DeclareInputText{240}{p}
-\DeclareInputText{241}{r}
-\DeclareInputText{242}{s}
-\DeclareInputText{243}{s}
-\DeclareInputText{244}{t}
-\DeclareInputText{245}{u}
-\DeclareInputText{246}{f}
-\DeclareInputText{247}{q}
-\DeclareInputText{248}{y}
-\DeclareInputText{249}{w}
-%\DeclareInputText{250}{"i}
-%\DeclareInputText{251}{"u}
-\chardef\idiaer=240
-\chardef\udiaer=244
-\DeclareInputText{250}{\char\idiaer}
-\DeclareInputText{251}{\char\udiaer}
-\DeclareInputText{252}{'o}
-\DeclareInputText{253}{'u}
-\DeclareInputText{254}{'w}
-\DeclareInputText{255}{\textbullet}
-\endinput
diff --git a/app-text/tetex/files/pst-circ.pro b/app-text/tetex/files/pst-circ.pro
deleted file mode 100644
index 2b6b1914ec57..000000000000
--- a/app-text/tetex/files/pst-circ.pro
+++ /dev/null
@@ -1,23 +0,0 @@
-%!
-% PostScript prologue for pst-circ.tex.
-% For distribution, see pstricks.tex.
-%
-/GetNode {
- tx@NodeDict begin
- tx@NodeDict 1 index known { load GetCenter } { pop 0 0 } ifelse
- end
-} bind def /ZeroEq { abs 1E-10 lt } bind def /EqDr {
- 4 copy 3 -1 roll sub 7 1 roll exch sub 5 1 roll 4 -1 roll
- mul 3 1 roll mul exch sub } bind def
-/InterLines {
- EqDr /D1c exch def /D1b exch def /D1a exch def
- EqDr /D2c exch def /D2b exch def /D2a exch def
- D1a D2b mul D1b D2a mul sub dup ZeroEq
- { pop pop pop 0 0 }
- {
- /Det exch def
- D1b D2c mul D1c D2b mul sub Det div
- D1a D2c mul D2a D1c mul sub Det div
- }
- ifelse } bind def
-% END pst-circ.pro
diff --git a/app-text/tetex/files/tetex-2.0.2-dvi-draw-conflicting-types.patch b/app-text/tetex/files/tetex-2.0.2-dvi-draw-conflicting-types.patch
deleted file mode 100644
index c38a8e01bc71..000000000000
--- a/app-text/tetex/files/tetex-2.0.2-dvi-draw-conflicting-types.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tetex-src-2.0.2.old/texk/xdvik/dvi-draw.c 2003-01-25 05:16:33.000000000 -0500
-+++ tetex-src-2.0.2/texk/xdvik/dvi-draw.c 2006-01-08 04:52:44.000000000 -0500
-@@ -518,7 +518,7 @@
-
- #endif /* T1LIB */
-
--extern void home(); /* from events.c */
-+extern void home(wide_bool scrl); /* from events.c */
- extern int fallbacktfm; /* from tfmload.c */
-
- static struct frame frame0; /* dummy head of list */
diff --git a/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch b/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch
deleted file mode 100644
index dfdc740ade31..000000000000
--- a/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- tetex-src-2.0.2.old/texk/tetex/epstopdf 2002-11-23 01:58:03.000000000 +0100
-+++ tetex-src-2.0.2/texk/tetex/epstopdf 2005-12-02 19:57:55.000000000 +0100
-@@ -194,7 +194,8 @@
- ### open output file
- if ($::opt_gs) {
- my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
-- "-sOutputFile=$OutputFilename - -c quit";
-+ "-dAutoRotatePages=/None " .
-+ "\"-sOutputFile=$OutputFilename\" - -c quit";
- debug "Ghostscript pipe:", $pipe;
- open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
- }
diff --git a/app-text/tetex/files/tetex-2.0.2-flex-unput.patch b/app-text/tetex/files/tetex-2.0.2-flex-unput.patch
deleted file mode 100644
index 57a037e09ba6..000000000000
--- a/app-text/tetex/files/tetex-2.0.2-flex-unput.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr tetex-src-2.0.2.old/texk/web2c/omegafonts/Makefile.in tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in
---- tetex-src-2.0.2.old/texk/web2c/omegafonts/Makefile.in 2001-11-10 14:42:37.000000000 +0100
-+++ tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in 2006-02-13 12:38:48.000000000 +0100
-@@ -40,7 +40,7 @@
- -test -f y.tab.h && mv -f y.tab.h y_tab.h
- $(LEX_OUTPUT_ROOT).o: parser.h
- $(LEX_OUTPUT_ROOT).c: pl.l
-- $(LEX) $(srcdir)/pl.l
-+ cp $(srcdir)/lex.yy.c-dist $(srcdir)/lex.yy.c
-
-
-
diff --git a/app-text/tetex/files/tetex-2.0.2-skip_bibtex_test.patch b/app-text/tetex/files/tetex-2.0.2-skip_bibtex_test.patch
deleted file mode 100644
index 7a91a842b650..000000000000
--- a/app-text/tetex/files/tetex-2.0.2-skip_bibtex_test.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tetex-src-2.0.2/texk/web2c/Makefile.in 2006-11-29 00:28:35.000000000 +0100
-+++ tetex-src-2.0.2/texk/web2c/Makefile.in.new 2006-11-29 00:56:13.000000000 +0100
-@@ -855,7 +855,7 @@
- # Testing, including triptrap. The `x' filenames are for output.
- @TEX@tex_check = tex-check
- @ETEX@etex_check = etex-check
--check: bibtex-check dvicopy-check dvitomp-check dvitype-check \
-+check: dvicopy-check dvitomp-check dvitype-check \
- $(etex_check) gftodvi-check gftopk-check gftype-check \
- mf-check mft-check mpost-check patgen-check pktogf-check \
- pktype-check pltotf-check pooltype-check $(tex_check) tftopl-check \
diff --git a/app-text/tetex/files/tetex-2.0.2-use-system-libtool.patch b/app-text/tetex/files/tetex-2.0.2-use-system-libtool.patch
deleted file mode 100644
index 0e1e0e393fab..000000000000
--- a/app-text/tetex/files/tetex-2.0.2-use-system-libtool.patch
+++ /dev/null
@@ -1,336 +0,0 @@
-diff -ur tetex-src-2.0.2-orig/texk/acklibtool.m4 tetex-src-2.0.2/texk/acklibtool.m4
---- tetex-src-2.0.2-orig/texk/acklibtool.m4 1997-10-03 11:38:16.000000000 +0000
-+++ tetex-src-2.0.2/texk/acklibtool.m4 2006-02-28 17:23:29.000000000 +0000
-@@ -13,12 +13,7 @@
- # scan PATH. For one thing, if we found it somewhere there, we couldn't
- # use that directory to put the config file ... and that's what we need
- # to do, to avoid having to configure in every subdirectory.
--LIBTOOL=$ac_aux_dir/klibtool
--AC_SUBST(LIBTOOL)
--if test ! -r $LIBTOOL; then
-- AC_MSG_ERROR([klibtool not in $ac_aux_dir, goodbye])
-- exit 1
--fi
-+LIBTOOL=libtool
- #
- ## Argument parsing: we support --enable-shared and --enable-static.
- AC_ARG_ENABLE(shared,
-diff -ur tetex-src-2.0.2-orig/texk/dviljk/Makefile.in tetex-src-2.0.2/texk/dviljk/Makefile.in
---- tetex-src-2.0.2-orig/texk/dviljk/Makefile.in 2002-12-08 10:31:49.000000000 +0000
-+++ tetex-src-2.0.2/texk/dviljk/Makefile.in 2006-02-28 20:18:24.000000000 +0000
-@@ -58,13 +58,13 @@
- install-exec:
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
- test ! -f $(program) \
-- || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
-+ || $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
- test ! -f $(program2p) \
-- || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program2p)
-+ || $(INSTALL_LIBTOOL_PROG) $(program2p) $(bindir)
- test ! -f $(program4) \
-- || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program4)
-+ || $(INSTALL_LIBTOOL_PROG) $(program4) $(bindir)
- test ! -f $(program4l) \
-- || $(INSTALL_LIBTOOL_PROG) $(bindir) $(program4l)
-+ || $(INSTALL_LIBTOOL_PROG) $(program4l) $(bindir)
- $(INSTALL_SCRIPT) $(srcdir)/dvihp $(scriptdir)/dvihp
- rm -f $(bindir)/$(program6); $(LN) $(program4) $(bindir)/$(program6)
- uninstall-exec:
-diff -ur tetex-src-2.0.2-orig/texk/dvipdfm/Makefile.in tetex-src-2.0.2/texk/dvipdfm/Makefile.in
---- tetex-src-2.0.2-orig/texk/dvipdfm/Makefile.in 2003-02-16 01:03:45.000000000 +0000
-+++ tetex-src-2.0.2/texk/dvipdfm/Makefile.in 2006-02-28 20:20:29.000000000 +0000
-@@ -50,8 +50,8 @@
-
- install-exec:
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- $(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
-- $(INSTALL_LIBTOOL_PROG) $(bindir) ebb
-+ $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
-+ $(INSTALL_LIBTOOL_PROG) ebb $(bindir)
- $(INSTALL_SCRIPT) $(srcdir)/dvipdft $(bindir)
-
- uninstall-exec:
-diff -ur tetex-src-2.0.2-orig/texk/dvipsk/Makefile.in tetex-src-2.0.2/texk/dvipsk/Makefile.in
---- tetex-src-2.0.2-orig/texk/dvipsk/Makefile.in 2003-01-31 18:07:46.000000000 +0000
-+++ tetex-src-2.0.2/texk/dvipsk/Makefile.in 2006-02-28 20:20:55.000000000 +0000
-@@ -73,7 +73,7 @@
-
- install-exec: all
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir) $(fontdir)
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- uninstall-exec:
- for p in $(programs); do rm -f $(bindir)/$$p; done
-
-diff -ur tetex-src-2.0.2-orig/texk/etc/autoconf/acspecific.m4 tetex-src-2.0.2/texk/etc/autoconf/acspecific.m4
---- tetex-src-2.0.2-orig/texk/etc/autoconf/acspecific.m4 2003-02-18 06:46:57.000000000 +0000
-+++ tetex-src-2.0.2/texk/etc/autoconf/acspecific.m4 2006-02-28 19:20:16.000000000 +0000
-@@ -119,7 +119,7 @@
-
- AC_DEFUN(AC_PROG_CXX,
- [AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
--AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++ cl, gcc)
-+AC_CHECK_PROGS(CXX, $CCC g++ gcc CC cxx cc++ cl, gcc)
-
- AC_PROG_CXX_WORKS
- AC_PROG_CXX_GNU
-diff -ur tetex-src-2.0.2-orig/texk/gsftopk/Makefile.in tetex-src-2.0.2/texk/gsftopk/Makefile.in
---- tetex-src-2.0.2-orig/texk/gsftopk/Makefile.in 2002-11-12 20:59:35.000000000 +0000
-+++ tetex-src-2.0.2/texk/gsftopk/Makefile.in 2006-02-28 20:22:58.000000000 +0000
-@@ -35,7 +35,7 @@
-
- install-exec: $(program)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- $(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
-+ $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
- uninstall-exec:
- rm -f $(bindir)/$(program)
-
-diff -ur tetex-src-2.0.2-orig/texk/kpathsea/Makefile.in tetex-src-2.0.2/texk/kpathsea/Makefile.in
---- tetex-src-2.0.2-orig/texk/kpathsea/Makefile.in 2003-02-15 17:21:42.000000000 +0000
-+++ tetex-src-2.0.2/texk/kpathsea/Makefile.in 2006-02-28 22:15:34.000000000 +0000
-@@ -33,10 +33,10 @@
- library = kpathsea
-
- # We want to compile almost everything with libtool ...
--KPATHSEA_CC = $(LIBTOOL) compile "$(CC)"
-+KPATHSEA_CC = $(LIBTOOL) --mode=compile "$(CC)"
- .SUFFIXES: .lo
- .c.lo:
-- $(KPATHSEA_CC) $< $(ALL_CFLAGS)
-+ $(KPATHSEA_CC) $(ALL_CFLAGS) $<
-
- default all: kpsewhich kpsestat access readlink $(library).info manfiles
-
-@@ -52,15 +52,8 @@
- readlink: readlink.o
- $(link_command) readlink.o
-
--$(kpathsea): $(objects) klibtool.version
-- $(LIBTOOL) archive $(AR) $(ARFLAGS) $@ $(objects)
--
--# All the objects depend on the klibtool configuration file.
--$(objects): ../klibtool.config
--
--# Create klibtool.version in the build tree
--klibtool.version:
-- $(LN) $(srcdir)/kpathsea.version $@
-+$(kpathsea): $(objects)
-+ $(LIBTOOL) --mode=link $(CC) $(objects) -rpath $(libdir) -o $@
-
- # Make variable substitutions for paths.h.
- texmf.cnf: texmf.in texmf.sed
-@@ -180,8 +173,8 @@
- $(INSTALL_SCRIPT) $(srcdir)/mktexnam $(web2cdir)/mktexnam
- $(INSTALL_DATA) $(srcdir)/mktexnam.opt $(web2cdir)/mktexnam.opt
- $(INSTALL_SCRIPT) $(srcdir)/mktexupd $(web2cdir)/mktexupd
-- $(INSTALL_LIBTOOL_LIBS) $(libdir) lib$(library).la
-- $(INSTALL_LIBTOOL_PROG) $(bindir) kpsewhich
-+ $(INSTALL_LIBTOOL_LIBS) lib$(library).la $(libdir)
-+ $(INSTALL_LIBTOOL_PROG) kpsewhich $(bindir)
- $(INSTALL_PROGRAM) kpsestat $(bindir)
- $(INSTALL_PROGRAM) access $(bindir)
- $(INSTALL_PROGRAM) readlink $(bindir)
-diff -ur tetex-src-2.0.2-orig/texk/kpathsea/configure tetex-src-2.0.2/texk/kpathsea/configure
---- tetex-src-2.0.2-orig/texk/kpathsea/configure 2003-02-18 04:12:52.000000000 +0000
-+++ tetex-src-2.0.2/texk/kpathsea/configure 2006-02-28 17:20:36.000000000 +0000
-@@ -1382,12 +1382,8 @@
- # scan PATH. For one thing, if we found it somewhere there, we couldn't
- # use that directory to put the config file ... and that's what we need
- # to do, to avoid having to configure in every subdirectory.
--LIBTOOL=$ac_aux_dir/klibtool
-+LIBTOOL="libtool"
-
--if test ! -r $LIBTOOL; then
-- { echo "configure: error: klibtool not in $ac_aux_dir, goodbye" 1>&2; exit 1; }
-- exit 1
--fi
- #
- ## Argument parsing: we support --enable-shared and --enable-static.
- # Check whether --enable-shared or --disable-shared was given.
-Only in tetex-src-2.0.2/texk/kpathsea: tetex-2.0.2-use-system-libtool.patch
-diff -ur tetex-src-2.0.2-orig/texk/make/common.mk tetex-src-2.0.2/texk/make/common.mk
---- tetex-src-2.0.2-orig/texk/make/common.mk 2003-01-24 19:22:12.000000000 +0000
-+++ tetex-src-2.0.2/texk/make/common.mk 2006-02-28 19:32:46.000000000 +0000
-@@ -12,7 +12,7 @@
- LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
-
- # Kpathsea needs this for compiling, programs need it for linking.
--LIBTOOL = $(kpathsea_srcdir_parent)/klibtool
-+LIBTOOL = libtool
-
- # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
- # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
-@@ -32,8 +32,8 @@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_DATA = @INSTALL_DATA@
--INSTALL_LIBTOOL_LIBS = INSTALL_DATA='$(INSTALL_DATA)' $(LIBTOOL) install-lib
--INSTALL_LIBTOOL_PROG = INSTALL_PROGRAM='$(INSTALL_PROGRAM)' $(LIBTOOL) install-prog
-+INSTALL_LIBTOOL_LIBS = $(LIBTOOL) --mode=install $(INSTALL_DATA)
-+INSTALL_LIBTOOL_PROG = $(LIBTOOL) --mode=install $(INSTALL_PROGRAM)
-
- # Creating (symbolic) links.
- LN = @LN_S@
-diff -ur tetex-src-2.0.2-orig/texk/make/programs.mk tetex-src-2.0.2/texk/make/programs.mk
---- tetex-src-2.0.2-orig/texk/make/programs.mk 2001-10-27 10:21:12.000000000 +0000
-+++ tetex-src-2.0.2/texk/make/programs.mk 2006-02-28 18:48:03.000000000 +0000
-@@ -15,5 +15,5 @@
-
- # When we link with Kpathsea, have to take account that it might be a
- # shared library, etc.
--kpathsea_link = $(LIBTOOL) link $(link_command)
-+kpathsea_link = $(LIBTOOL) --mode=link $(link_command)
- # End of programs.mk.
-diff -ur tetex-src-2.0.2-orig/texk/makeindexk/Makefile.in tetex-src-2.0.2/texk/makeindexk/Makefile.in
---- tetex-src-2.0.2-orig/texk/makeindexk/Makefile.in 2002-11-12 20:57:06.000000000 +0000
-+++ tetex-src-2.0.2/texk/makeindexk/Makefile.in 2006-02-28 20:21:17.000000000 +0000
-@@ -20,7 +20,7 @@
-
- install-exec: $(programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- $(INSTALL_LIBTOOL_PROG) $(bindir) $(program)
-+ $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
- $(INSTALL_SCRIPT) $(srcdir)/mkindex $(scriptdir)/mkindex
- uninstall-exec:
- cd $(bindir) && rm -f $(program)
-diff -ur tetex-src-2.0.2-orig/texk/odvipsk/Makefile.in tetex-src-2.0.2/texk/odvipsk/Makefile.in
---- tetex-src-2.0.2-orig/texk/odvipsk/Makefile.in 2003-01-31 18:08:27.000000000 +0000
-+++ tetex-src-2.0.2/texk/odvipsk/Makefile.in 2006-02-28 20:21:40.000000000 +0000
-@@ -61,7 +61,7 @@
-
- install-exec: all
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- uninstall-exec:
- for p in $(programs); do rm -f $(bindir)/$$p; done
-
-diff -ur tetex-src-2.0.2-orig/texk/oxdvik/Makefile.in tetex-src-2.0.2/texk/oxdvik/Makefile.in
---- tetex-src-2.0.2-orig/texk/oxdvik/Makefile.in 2003-02-02 18:53:12.000000000 +0000
-+++ tetex-src-2.0.2/texk/oxdvik/Makefile.in 2006-02-28 20:21:52.000000000 +0000
-@@ -102,7 +102,7 @@
-
- install-exec: $(program)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in $(program); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(program); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- $(INSTALL_SCRIPT) $(srcdir)/oxdvi-sh $(scriptdir)/oxdvi
- uninstall-exec:
-
-diff -ur tetex-src-2.0.2-orig/texk/ps2pkm/Makefile.in tetex-src-2.0.2/texk/ps2pkm/Makefile.in
---- tetex-src-2.0.2-orig/texk/ps2pkm/Makefile.in 2002-11-12 20:59:14.000000000 +0000
-+++ tetex-src-2.0.2/texk/ps2pkm/Makefile.in 2006-02-28 20:22:06.000000000 +0000
-@@ -36,7 +36,7 @@
-
- install-exec: $(programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- uninstall-exec:
- for p in $(programs); do rm -f $(bindir)/$$p; done
-
-diff -ur tetex-src-2.0.2-orig/texk/web2c/Makefile.in tetex-src-2.0.2/texk/web2c/Makefile.in
---- tetex-src-2.0.2-orig/texk/web2c/Makefile.in 2003-02-01 16:51:16.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/Makefile.in 2006-02-28 20:06:08.000000000 +0000
-@@ -38,7 +38,7 @@
- CXX = @CXX@
- CXXLD = $(CXX)
- cxx_link_command = $(CXXLD) -o $@ $(LDFLAGS)
--kpathsea_cxx_link = $(LIBTOOL) link $(cxx_link_command)
-+kpathsea_cxx_link = $(LIBTOOL) --mode=link $(cxx_link_command)
-
- @MAINT@ifeq ($(CC), gcc)
- @MAINT@XDEFS = -Wimplicit -Wreturn-type -Wcomment -Wformat
-@@ -581,7 +581,7 @@
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(texpooldir) \
- $(mfpooldir) $(mppooldir)
- cd mpware && $(MAKE) $(install_makeargs) install-exec
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- @OMEGA@ cd omegafonts && $(MAKE) $(install_makeargs) install-programs install-links
- @OMEGA@ cd otps && $(MAKE) $(install_makeargs) install-programs
-
-diff -ur tetex-src-2.0.2-orig/texk/web2c/configure tetex-src-2.0.2/texk/web2c/configure
---- tetex-src-2.0.2-orig/texk/web2c/configure 2003-02-21 14:49:42.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/configure 2006-02-28 19:19:21.000000000 +0000
-@@ -2807,7 +2807,7 @@
- # First test whether the compiler works in a subshell, and if so,
- # do it again in the main shell so we see the result.
- (
-- for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
-+ for ac_prog in $CCC g++ gcc CC cxx cc++ cl
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
-@@ -2952,7 +2952,7 @@
- fi
-
- ) && {
-- for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
-+ for ac_prog in $CCC g++ gcc CC cxx cc++ cl
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
-diff -ur tetex-src-2.0.2-orig/texk/web2c/mpware/Makefile.in tetex-src-2.0.2/texk/web2c/mpware/Makefile.in
---- tetex-src-2.0.2-orig/texk/web2c/mpware/Makefile.in 2001-12-15 19:30:18.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/mpware/Makefile.in 2006-02-28 20:05:21.000000000 +0000
-@@ -47,8 +47,8 @@
- install-exec: $(programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir)
- $(INSTALL_PROGRAM) newer $(bindir)/newer
-- $(INSTALL_LIBTOOL_PROG) $(bindir) dmp
-- $(INSTALL_LIBTOOL_PROG) $(bindir) mpto
-+ $(INSTALL_LIBTOOL_PROG) dmp $(bindir)
-+ $(INSTALL_LIBTOOL_PROG) mpto $(bindir)
- $(INSTALL_SCRIPT) makempx $(scriptdir)/makempx
- install-data:
-
-diff -ur tetex-src-2.0.2-orig/texk/web2c/omegadir/omega.mk tetex-src-2.0.2/texk/web2c/omegadir/omega.mk
---- tetex-src-2.0.2-orig/texk/web2c/omegadir/omega.mk 2002-11-12 17:35:32.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/omegadir/omega.mk 2006-02-28 20:23:45.000000000 +0000
-@@ -117,7 +117,7 @@
- # The actual binary executables and pool files.
- install-omega-programs: $(omega_programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in omega; do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in omega; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- cd otps && $(MAKE) $(install_makeargs) install-programs
- cd omegafonts && $(MAKE) $(install_makeargs) install-programs
-
-diff -ur tetex-src-2.0.2-orig/texk/web2c/omegafonts/Makefile.in tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in
---- tetex-src-2.0.2-orig/texk/web2c/omegafonts/Makefile.in 2001-11-10 13:42:37.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in 2006-02-28 20:11:23.000000000 +0000
-@@ -53,7 +53,7 @@
-
- install-programs: $(programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
-
- install-links: install-programs
- for f in ""$(linked_programs); do \
-diff -ur tetex-src-2.0.2-orig/texk/web2c/otps/Makefile.in tetex-src-2.0.2/texk/web2c/otps/Makefile.in
---- tetex-src-2.0.2-orig/texk/web2c/otps/Makefile.in 2000-06-20 22:27:56.000000000 +0000
-+++ tetex-src-2.0.2/texk/web2c/otps/Makefile.in 2006-02-28 20:12:28.000000000 +0000
-@@ -36,7 +36,7 @@
-
- install-programs: $(programs)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(scriptdir); done
-
- Makefile: Makefile.in ../config.status
-diff -ur tetex-src-2.0.2-orig/texk/xdvik/Makefile.in tetex-src-2.0.2/texk/xdvik/Makefile.in
---- tetex-src-2.0.2-orig/texk/xdvik/Makefile.in 2003-02-02 18:53:22.000000000 +0000
-+++ tetex-src-2.0.2/texk/xdvik/Makefile.in 2006-02-28 20:23:59.000000000 +0000
-@@ -103,7 +103,7 @@
-
- install-exec: $(program)
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
-- for p in $(program); do $(INSTALL_LIBTOOL_PROG) $(bindir) $$p; done
-+ for p in $(program); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- $(INSTALL_SCRIPT) $(srcdir)/$(perlprog) $(scriptdir)/$(perlprog)
- $(INSTALL_SCRIPT) $(srcdir)/xdvi-sh $(scriptdir)/xdvi
- $(INSTALL_SCRIPT) $(srcdir)/xdvizilla $(scriptdir)/xdvizilla
diff --git a/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch b/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch
deleted file mode 100644
index 429c4fddbbfd..000000000000
--- a/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- tetex-src-3.0/texk/tetex/epstopdf.orig 2005-11-28 01:34:05.000000000 +0100
-+++ tetex-src-3.0/texk/tetex/epstopdf 2005-10-22 19:25:12.000000000 +0200
-@@ -205,7 +205,8 @@
- ### open output file
- if ($::opt_gs) {
- my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
-- "-sOutputFile=$OutputFilename - -c quit";
-+ "-dAutoRotatePages=/None " .
-+ "\"-sOutputFile=$OutputFilename\" - -c quit";
- debug "Ghostscript pipe:", $pipe;
- open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
- }
diff --git a/app-text/tetex/files/tetex-3.0-kpathsea-pic.patch b/app-text/tetex/files/tetex-3.0-kpathsea-pic.patch
deleted file mode 100644
index bddec0569bb0..000000000000
--- a/app-text/tetex/files/tetex-3.0-kpathsea-pic.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/kpathsea/configure tetex-src-3.0/texk/kpathsea/configure
---- tetex-src-3.0.orig/texk/kpathsea/configure 2005-02-06 13:27:03.000000000 -0500
-+++ tetex-src-3.0/texk/kpathsea/configure 2005-09-09 00:25:48.000000000 -0400
-@@ -5546,7 +5546,11 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+if [ "${USERLAND}" = "Darwin" ]; then
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+fi
-
- # Prevent multiple expansion
-
-diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/libtool.m4 tetex-src-3.0/texk/libtool.m4
---- tetex-src-3.0.orig/texk/libtool.m4 2003-02-15 08:03:23.000000000 -0500
-+++ tetex-src-3.0/texk/libtool.m4 2005-09-09 00:17:12.000000000 -0400
-@@ -30,8 +30,12 @@
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
--# Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+# Use the system libtool
-+if [ "${USERLAND}" = "Darwin" ]; then
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+fi
- AC_SUBST(LIBTOOL)dnl
-
- # Prevent multiple expansion
-diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/make/common.mk tetex-src-3.0/texk/make/common.mk
---- tetex-src-3.0.orig/texk/make/common.mk 2004-08-06 14:40:50.000000000 -0400
-+++ tetex-src-3.0/texk/make/common.mk 2005-09-09 15:02:35.000000000 -0400
-@@ -12,7 +12,11 @@
- LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
-
- # Kpathsea needs this for compiling, programs need it for linking.
--LIBTOOL = $(SHELL) $(kpathsea_parent)/libtool
-+ifeq ($(USERLAND),Darwin)
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+endif
-
- # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
- # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
diff --git a/app-text/tetex/files/tetex-3.0_p1-CVE-2007-0650.patch b/app-text/tetex/files/tetex-3.0_p1-CVE-2007-0650.patch
deleted file mode 100644
index 4df77e5dd8f1..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-CVE-2007-0650.patch
+++ /dev/null
@@ -1,80 +0,0 @@
---- tetex-src-3.0/texk/makeindexk/mkind.c.CVE-2007-0650 2002-10-02 14:26:37.000000000 +0200
-+++ tetex-src-3.0/texk/makeindexk/mkind.c 2007-02-02 12:29:31.000000000 +0100
-@@ -179,7 +179,9 @@
- argc--;
- if (argc <= 0)
- FATAL("Expected -p <num>\n","");
-- strcpy(pageno, *++argv);
-+ if (strlen(*++argv) >= sizeof(pageno))
-+ FATAL("Page number too high\n","");
-+ strcpy(pageno, *argv);
- init_page = TRUE;
- if (STREQ(pageno, EVEN)) {
- log_given = TRUE;
-@@ -230,7 +232,7 @@
- char tmp[STRING_MAX + 5];
-
- /* base set by last call to check_idx */
-- sprintf (tmp, "%s%s", base, INDEX_STY);
-+ snprintf (tmp, sizeof(tmp), "%s%s", base, INDEX_STY);
- if (0 == access(tmp, R_OK)) {
- open_sty (tmp);
- sty_given = TRUE;
-@@ -405,9 +407,9 @@
- STRING_MAX,totmem);
- #endif /* DEBUG */
-
-- if ((idx_fn = (char *) malloc(STRING_MAX)) == NULL)
-+ if ((idx_fn = (char *) malloc(STRING_MAX+5)) == NULL)
- FATAL("Not enough core...abort.\n", "");
-- sprintf(idx_fn, "%s%s", base, INDEX_IDX);
-+ snprintf(idx_fn, STRING_MAX+5, "%s%s", base, INDEX_IDX);
- if ((open_fn &&
- ((idx_fp = OPEN_IN(idx_fn)) == NULL)
- ) ||
-@@ -434,7 +436,7 @@
-
- /* index output file */
- if (!ind_given) {
-- sprintf(ind, "%s%s", base, INDEX_IND);
-+ snprintf(ind, sizeof(ind), "%s%s", base, INDEX_IND);
- ind_fn = ind;
- }
- if ((ind_fp = OPEN_OUT(ind_fn)) == NULL)
-@@ -442,14 +444,14 @@
-
- /* index transcript file */
- if (!ilg_given) {
-- sprintf(ilg, "%s%s", base, INDEX_ILG);
-+ snprintf(ilg, sizeof(ilg), "%s%s", base, INDEX_ILG);
- ilg_fn = ilg;
- }
- if ((ilg_fp = OPEN_OUT(ilg_fn)) == NULL)
- FATAL("Can't create transcript file %s.\n", ilg_fn);
-
- if (log_given) {
-- sprintf(log_fn, "%s%s", base, INDEX_LOG);
-+ snprintf(log_fn, sizeof(log_fn), "%s%s", base, INDEX_LOG);
- if ((log_fp = OPEN_IN(log_fn)) == NULL) {
- FATAL("Source log file %s not found.\n", log_fn);
- } else {
-@@ -505,6 +507,9 @@
- if ((found = kpse_find_file (fn, kpse_ist_format, 1)) == NULL) {
- FATAL("Index style file %s not found.\n", fn);
- } else {
-+ if (strlen(found) >= sizeof(sty_fn)) {
-+ FATAL("Style file %s too long.\n", found);
-+ }
- strcpy(sty_fn,found);
- if ((sty_fp = OPEN_IN(sty_fn)) == NULL) {
- FATAL("Could not open style file %s.\n", sty_fn);
-@@ -512,6 +517,9 @@
- }
- #else
- if ((path = getenv(STYLE_PATH)) == NULL) {
-+ if (strlen(fn) >= sizeof(sty_fn)) {
-+ FATAL("Style file %s too long.\n", fn);
-+ }
- /* style input path not defined */
- strcpy(sty_fn, fn);
- sty_fp = OPEN_IN(sty_fn);
diff --git a/app-text/tetex/files/tetex-3.0_p1-amd64-xdvik-wp.patch b/app-text/tetex/files/tetex-3.0_p1-amd64-xdvik-wp.patch
deleted file mode 100644
index b8d006290d8e..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-amd64-xdvik-wp.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- tetex-src-3.0/texk/xdvik/x_util.c 2005-12-06 16:04:45.000000000 +0100
-+++ tetex-src-3.0/texk/xdvik/x_util.c.new 2006-01-06 13:13:22.000000000 +0100
-@@ -205,15 +205,15 @@
- w = (*((xuint32 *) window_p));
- #else
- # if WORDS_BIGENDIAN
-- w = ((unsigned long)wp[0] << 24) |
-- ((unsigned long)wp[1] << 16) |
-- ((unsigned long)wp[2] << 8) |
-- (unsigned long)wp[3];
-+ w = ((unsigned long)window_p[0] << 24) |
-+ ((unsigned long)window_p[1] << 16) |
-+ ((unsigned long)window_p[2] << 8) |
-+ (unsigned long)window_p[3];
- # else
-- w = ((unsigned long)wp[3] << 24) |
-- ((unsigned long)wp[2] << 16) |
-- ((unsigned long)wp[1] << 8) |
-- (unsigned long)wp[0];
-+ w = ((unsigned long)window_p[3] << 24) |
-+ ((unsigned long)window_p[2] << 16) |
-+ ((unsigned long)window_p[1] << 8) |
-+ (unsigned long)window_p[0];
- # endif
- #endif
- return w;
diff --git a/app-text/tetex/files/tetex-3.0_p1-create-empty-files.patch b/app-text/tetex/files/tetex-3.0_p1-create-empty-files.patch
deleted file mode 100644
index b72d6d7ce94d..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-create-empty-files.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN tetex-src-3.0.orig/texk/kpathsea/mktexlsr tetex-src-3.0/texk/kpathsea/mktexlsr
---- tetex-src-3.0.orig/texk/kpathsea/mktexlsr 2005-12-06 16:03:40.000000000 +0100
-+++ tetex-src-3.0/texk/kpathsea/mktexlsr 2006-03-20 17:27:53.000000000 +0100
-@@ -108,7 +108,7 @@
- test -w "$db_dir" || { echo "$progname: $db_dir: directory not writable. Skipping..." >&2; continue; }
-
- if test ! -f "$db_file"; then
-- cp /dev/null "$db_file"
-+ touch "$db_file"
- # Use same permissions as parent directory, minus x,s, or t bits.
- chmod `kpsestat -xst "$db_dir"` "$db_file"
- elif test -s "$db_file" \
-diff -urN tetex-src-3.0.orig/texk/make/man.mk tetex-src-3.0/texk/make/man.mk
---- tetex-src-3.0.orig/texk/make/man.mk 2005-12-06 16:03:42.000000000 +0100
-+++ tetex-src-3.0/texk/make/man.mk 2006-03-20 17:23:45.000000000 +0100
-@@ -28,7 +28,7 @@
- # Makefile can change for reasons that do not affect the man pages.
- # At present, all but VERSION should be unused.
- sedscript:
-- cp /dev/null sedscript
-+ touch sedscript
- for f in $(kpathsea_dir)/paths.h; do \
- sed -n -e '/^#define/s/#define[ ][ ]*\([A-Z_a-z][A-Z_a-z]*\)[ ][ ]*\(.*\)/s%@\1@%\2%/p' \
- $$f \
diff --git a/app-text/tetex/files/tetex-3.0_p1-dvipdfm-timezone.patch b/app-text/tetex/files/tetex-3.0_p1-dvipdfm-timezone.patch
deleted file mode 100644
index f134206ebb81..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-dvipdfm-timezone.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -urN tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c tetex-src-3.0/texk/dvipdfm/pdfdoc.c
---- tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c 2005-12-06 16:03:23.000000000 +0100
-+++ tetex-src-3.0/texk/dvipdfm/pdfdoc.c 2006-05-23 17:25:49.000000000 +0200
-@@ -234,7 +234,7 @@
- {
- #ifndef HAVE_TIMEZONE
- #ifdef TM_GM_TOFF
-- #define timezone (bdtime->gm_toff)
-+ #define timezone (bd_time->tm_gmtoff)
- #else
- #define timezone 0l
- #endif /* TM_GM_TOFF */
-@@ -242,15 +242,26 @@
- static char date_string[24];
- time_t current_time;
- struct tm *bd_time;
-+ long hh, mm;
- if (debug) {
- fprintf (stderr, "(asn_date)");
- }
- time(&current_time);
- bd_time = localtime(&current_time);
-- sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
-- bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
-- bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
-- -timezone/3600, timezone%3600);
-+ if (timezone == 0l) {
-+ sprintf (date_string, "D:%04d%02d%02d%02d%02d%02dZ00'00'",
-+ bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
-+ bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec);
-+ } else {
-+ hh = timezone/3600;
-+ mm = (timezone%3600)/60;
-+ if (timezone < 0)
-+ mm = -mm;
-+ sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
-+ bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
-+ bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
-+ hh, mm);
-+ }
- return date_string;
- }
-
diff --git a/app-text/tetex/files/tetex-3.0_p1-dvips_bufferoverflow.patch b/app-text/tetex/files/tetex-3.0_p1-dvips_bufferoverflow.patch
deleted file mode 100644
index 3f4732f1a249..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-dvips_bufferoverflow.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-hps.c (stamp_external, stamp_hps): protext against long strings.
- From Bastien Roucaries via Norbert, 21 Oct 2007 13:22:19,
- Debian bug 447081.
-
-Index: texk/dvipsk/hps.c
-===================================================================
---- texk/dvipsk/hps.c (revision 5253)
-+++ texk/dvipsk/hps.c (revision 5254)
-@@ -441,20 +441,29 @@
-
- void stamp_hps P1C(Hps_link *, pl)
- {
-- char tmpbuf[200] ;
-+ char * tmpbuf;
- if (pl == NULL) {
-- error("Null pointer, oh no!") ;
-+ error("stamp_hps: null pl pointer, oh no!") ;
- return ;
-- } else {
-- /* print out the proper pdfm with local page info only
-- * target info will be in the target dictionary */
-- (void)sprintf(tmpbuf,
-- " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-- pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-- pl->color[0], pl->color[1], pl->color[2]) ;
-- cmdout(tmpbuf) ;
-- }
-+ }
-+ if(pl->title == NULL) {
-+ error("stamp_hps: null pl->title pointer, oh no!") ;
-+ return ;
-+ }
-+
-+ tmpbuf = (char *) xmalloc(strlen(pl->title)+200);
-+
-+ /* print out the proper pdfm with local page info only
-+ * target info will be in the target dictionary */
-+ (void)sprintf(tmpbuf,
-+ " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ",
-+ pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-+ pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-+ pl->color[0], pl->color[1], pl->color[2]) ;
-+ cmdout(tmpbuf) ;
-+ free(tmpbuf);
-
-+
- }
-
- /* For external URL's, we just pass them through as a string. The hyperps
-@@ -462,18 +471,27 @@
- */
- void stamp_external P2C(char *, s, Hps_link *, pl)
- {
-- char tmpbuf[200];
-+ char *tmpbuf;
- if (pl == NULL) {
-- error("Null pointer, oh no!") ;
-+ error("stamp_external: null pl pointer, oh no!") ;
- return ;
-- } else {
-- /* print out the proper pdfm with local page info only
-- * target info will be in the target dictionary */
-- (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ", pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-- pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-- pl->color[0], pl->color[1], pl->color[2], s) ;
-- cmdout(tmpbuf) ;
-- }
-+ }
-+
-+ if (s == NULL) {
-+ error("stamp_external: null s pointer, oh no!") ;
-+ return ;
-+ }
-+
-+ tmpbuf = (char *) xmalloc(strlen(s) + 200);
-+
-+ /* print out the proper pdfm with local page info only
-+ * target info will be in the target dictionary */
-+ (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ",
-+ pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-+ pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-+ pl->color[0], pl->color[1], pl->color[2], s) ;
-+ cmdout(tmpbuf) ;
-+ free(tmpbuf);
- }
-
- void finish_hps P1H(void) {
diff --git a/app-text/tetex/files/tetex-3.0_p1-fmtutil-etex.patch b/app-text/tetex/files/tetex-3.0_p1-fmtutil-etex.patch
deleted file mode 100644
index 4f6d394cb3be..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-fmtutil-etex.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- tetex-src-3.0/texk/web2c/fmtutil.in.old 2006-01-14 15:28:25.000000000 +0100
-+++ tetex-src-3.0/texk/web2c/fmtutil.in 2006-01-14 15:29:09.000000000 +0100
-@@ -40,7 +40,8 @@
- # if you want babel support in tex:
- tex tex language.dat -translate-file=cp227.tcx tex.ini
- @PETEX@latex pdfetex language.dat -etex -translate-file=cp227.tcx latex.ini
--@PETEX@etex pdfetex language.def -etex -translate-file=cp227.tcx etex.ini
-+@PETEX@etex etex language.def -etex -translate-file=cp227.tcx etex.ini
-+@PETEX@elatex etex language.def -translate-file=cp227.tcx *latex.ini
- @PETEX@pdftex pdfetex - -etex -translate-file=cp227.tcx pdftex.ini
- @PETEX@pdflatex pdfetex language.dat -etex -translate-file=cp227.tcx pdflatex.ini
- @PETEX@pdfetex pdfetex language.def -etex -translate-file=cp227.tcx pdfetex.ini
diff --git a/app-text/tetex/files/tetex-3.0_p1-mptest.patch b/app-text/tetex/files/tetex-3.0_p1-mptest.patch
deleted file mode 100644
index 5b394dbf76ef..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-mptest.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tetex-src-3.0/texk/web2c/tests/mptest.mp.old 2006-01-12 18:52:17.000000000 +0100
-+++ tetex-src-3.0/texk/web2c/tests/mptest.mp 2006-01-12 18:52:42.000000000 +0100
-@@ -40,6 +40,6 @@
-
- message("* Test for big numbers in btex...etex:");
- picture q;
--q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
-+%q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
-
- end.
diff --git a/app-text/tetex/files/tetex-3.0_p1-pdftosrc-install.patch b/app-text/tetex/files/tetex-3.0_p1-pdftosrc-install.patch
deleted file mode 100644
index 5d9f5f46a708..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-pdftosrc-install.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN tetex-src-3.0.orig/texk/web2c/Makefile.in tetex-src-3.0/texk/web2c/Makefile.in
---- tetex-src-3.0.orig/texk/web2c/Makefile.in 2006-03-16 12:53:24.000000000 +0100
-+++ tetex-src-3.0/texk/web2c/Makefile.in 2006-03-16 12:52:08.000000000 +0100
-@@ -562,13 +562,13 @@
- # Common
- programs = bibtex ctangle ctie cweave dvicopy dvitomp dvitype gftodvi gftopk \
- gftype mft $(odvicopy) $(odvitype) $(otangle) patgen pktogf pktype pltotf \
-- pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave
-+ pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave pdftosrc
- engines = $(tex) $(etex) $(mf) $(mfn) $(mpost) \
- $(omega) $(aleph) \
- $(pdftex) $(pdfetex)
-
- programs: $(programs) $(engines) $(mpware_programs) \
-- $(omegafonts_programs) $(otps_programs) $(pdftosrc)
-+ $(omegafonts_programs) $(otps_programs)
-
- # Additional dependencies for relinking.
- # Note that each program and engine already depends on $(web2c_programs).
diff --git a/app-text/tetex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch b/app-text/tetex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch
deleted file mode 100644
index fe48e44d5589..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: tetex-src-3.0/libs/t1lib/t1env.c
-===================================================================
---- tetex-src-3.0.orig/libs/t1lib/t1env.c
-+++ tetex-src-3.0/libs/t1lib/t1env.c
-@@ -568,6 +568,12 @@ char *intT1_Env_GetCompletePath( char *F
- #endif
- strcat( pathbuf, DIRECTORY_SEP);
- /* And finally the filename: */
-+ /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf
-+ * let's try next pathbuf */
-+ if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
-+ i++;
-+ continue;
-+ }
- strcat( pathbuf, StrippedName);
-
- /* Check for existence of the path: */
diff --git a/app-text/tetex/files/tetex-3.0_p1-texmf-site.patch b/app-text/tetex/files/tetex-3.0_p1-texmf-site.patch
deleted file mode 100644
index 80cf0ae2add8..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-texmf-site.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ur tetex-src-3.0.orig/texk/kpathsea/texmf.in tetex-src-3.0/texk/kpathsea/texmf.in
---- tetex-src-3.0.orig/texk/kpathsea/texmf.in 2005-12-06 16:21:17.000000000 +0100
-+++ tetex-src-3.0/texk/kpathsea/texmf.in 2006-01-22 19:33:42.000000000 +0100
-@@ -61,6 +61,9 @@
- % The main distribution tree:
- TEXMFDIST = /usr/share/texmf
-
-+% The Gentoo site tree:
-+TEXMFSITE = /usr/share/texmf-site
-+
- % A place for local additions to a "standard" texmf tree.
- % This tree is not used for local configuration maintained by
- % texconfig, it uses TEXMFCONFIG below.
-@@ -111,10 +114,10 @@
- %
- % For texconfig to work properly, TEXMFCONGIG and TEXMFVAR should be named
- % explicitly and before all other trees.
--TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
-+TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFSITE,!!$TEXMFDIST}
-
- % The system trees. These are the trees that are shared by all the users.
--SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST
-+SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST;$TEXMFSITE
-
- % Where generated fonts may be written. This tree is used when the sources
- % were found in a system tree and either that tree wasn't writable, or the
diff --git a/app-text/tetex/files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch b/app-text/tetex/files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch
deleted file mode 100644
index da3c7a6d19f7..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-xpdf-CVE-2007-3387.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- tetex-src-3.0/libs/xpdf/xpdf/Stream.cc Tue Feb 27 14:05:52 2007
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc Thu Jul 12 15:55:49 2007
-@@ -421,7 +421,12 @@
- }
- pixBytes = (nComps * nBits + 7) >> 3;
- rowBytes = ((totalBits + 7) >> 3) + pixBytes;
-- if (rowBytes < 0) {
-+ if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-+ nComps > gfxColorMaxComps ||
-+ nBits > 16 ||
-+ nVals <= 0 ||
-+ nVals * nBits + 7 <= 0 ||
-+ rowBytes <= 0) {
- return;
- }
- predLine = (Guchar *)gmalloc(rowBytes);
diff --git a/app-text/tetex/files/tetex-3.0_p1-xpdf-vulnerabilities.patch b/app-text/tetex/files/tetex-3.0_p1-xpdf-vulnerabilities.patch
deleted file mode 100644
index 199cd1af3d4e..000000000000
--- a/app-text/tetex/files/tetex-3.0_p1-xpdf-vulnerabilities.patch
+++ /dev/null
@@ -1,140 +0,0 @@
---- tetex-src-3.0/libs/xpdf/xpdf/JPXStream.cc.old 2006-01-22 16:55:56.000000000 +0100
-+++ tetex-src-3.0/libs/xpdf/xpdf/JPXStream.cc 2006-01-22 16:56:09.000000000 +0100
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
---- tetex-src-3.0/libs/xpdf/xpdf/Stream.cc.old 2006-01-22 16:57:41.000000000 +0100
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc 2006-01-22 17:08:11.000000000 +0100
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-@@ -1275,8 +1276,9 @@
- endOfLine = endOfLineA;
- byteAlign = byteAlignA;
- columns = columnsA;
-- if (columns < 1) {
-- columns = 1;
-+ if (columns < 1 || columns >= INT_MAX / sizeof(short)) {
-+ error (-1, "invalid number of columns: %d\n", columns);
-+ exit (1);
- }
- rows = rowsA;
- endOfBlock = endOfBlockA;
-@@ -2952,6 +2954,10 @@
- height = read16();
- width = read16();
- numComps = str->getChar();
-+ if (numComps <= 0 || numComps > 4) {
-+ error(getPos(), "Bad number of components in DCT stream", prec);
-+ return gFalse;
-+ }
- if (prec != 8) {
- error(getPos(), "Bad DCT precision %d", prec);
- return gFalse;
-@@ -2974,6 +2979,11 @@
-
- length = read16() - 2;
- scanInfo.numComps = str->getChar();
-+ if (scanInfo.numComps <= 0 || scanInfo.numComps > 4) {
-+ scanInfo.numComps = 0;
-+ error(getPos(), "Bad number of components in DCT stream");
-+ return gFalse;
-+ }
- --length;
- if (length != 2 * scanInfo.numComps + 3) {
- error(getPos(), "Bad DCT scan info block");
-@@ -3058,12 +3068,12 @@
- while (length > 0) {
- index = str->getChar();
- --length;
-- if ((index & 0x0f) >= 4) {
-+ if ((index & 0x10) >= 4 || (index & 0x10) < 0) {
- error(getPos(), "Bad DCT Huffman table");
- return gFalse;
- }
- if (index & 0x10) {
-- index &= 0x0f;
-+ index &= 0x03;
- if (index >= numACHuffTables)
- numACHuffTables = index+1;
- tbl = &acHuffTables[index];
-@@ -3181,9 +3191,11 @@
- do {
- do {
- c = str->getChar();
-+ if (c == EOF) return EOF;
- } while (c != 0xff && c != EOF);
- do {
- c = str->getChar();
-+ if (c == EOF) return EOF;
- } while (c == 0xff);
- } while (c == 0x00);
- return c;
---- tetex-src-3.0/libs/xpdf/xpdf/JBIG2Stream.cc.old 2006-01-22 17:08:49.000000000 +0100
-+++ tetex-src-3.0/libs/xpdf/xpdf/JBIG2Stream.cc 2006-01-22 17:15:41.000000000 +0100
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-@@ -681,6 +682,11 @@
- w = wA;
- h = hA;
- line = (wA + 7) >> 3;
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
- // need to allocate one extra guard byte for use in combine()
- data = (Guchar *)gmalloc(h * line + 1);
- data[h * line] = 0;
-@@ -692,6 +698,11 @@
- w = bitmap->w;
- h = bitmap->h;
- line = bitmap->line;
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
- // need to allocate one extra guard byte for use in combine()
- data = (Guchar *)gmalloc(h * line + 1);
- memcpy(data, bitmap->data, h * line);
-@@ -720,7 +731,10 @@
- }
-
- void JBIG2Bitmap::expand(int newH, Guint pixel) {
-- if (newH <= h) {
-+ if (newH <= h || line <= 0 || newH >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ gfree(data);
-+ data = NULL;
- return;
- }
- // need to allocate one extra guard byte for use in combine()
-@@ -2936,6 +2950,11 @@
- JBIG2BitmapPtr tpgrCXPtr0, tpgrCXPtr1, tpgrCXPtr2;
- int x, y, pix;
-
-+ if (w < 0 || h <= 0 || w >= INT_MAX / h) {
-+ error(-1, "invalid width/height");
-+ return NULL;
-+ }
-+
- bitmap = new JBIG2Bitmap(0, w, h);
- bitmap->clearToZero();
-
diff --git a/app-text/tetex/files/xdvizilla.patch b/app-text/tetex/files/xdvizilla.patch
deleted file mode 100644
index bc925280a198..000000000000
--- a/app-text/tetex/files/xdvizilla.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- tetex-bin-2.0.2/texk/xdvik/xdvizilla 2002-10-12 15:28:50.000000000 +0200
-+++ tetex-bin-2.0.2.new/texk/xdvik/xdvizilla 2004-12-23 12:58:35.010332504 +0100
-@@ -33,7 +33,7 @@
- case "$FILETYPE" in
-
- *"gzip compressed data"*)
-- FILE=/tmp/xdvizilla$$
-+ FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
- gunzip -c "$1" > $FILE
- [ -n "$NO_RM" ] || rm -f -- "$1"
- NO_RM=
-@@ -41,7 +41,7 @@
- ;;
-
- *"compressed data"* | *"compress'd data"*)
-- FILE=/tmp/xdvizilla$$
-+ FILE=`mktemp -t xdvizilla.XXXXXX` || exit 1
- uncompress -c "$1" > $FILE
- [ -n "$NO_RM" ] || rm -f -- "$1"
- NO_RM=
-@@ -60,8 +60,7 @@
- case "$FILETYPE" in
-
- *" tar archive")
-- TARDIR=/tmp/xdvitar$$
-- mkdir $TARDIR
-+ TARDIR=`mktemp -t -d xdvitar.XXXXXX` || exit 1
- cat "$FILE" | (cd $TARDIR; tar xf -)
- DVINAME=`tar tf "$FILE" | grep '\.dvi$' | head -1`
- [ -n "$NO_RM" ] || rm -f -- "$FILE"
diff --git a/app-text/tetex/files/xpdf-2.02pl1-CAN-2005-3191-3.patch b/app-text/tetex/files/xpdf-2.02pl1-CAN-2005-3191-3.patch
deleted file mode 100644
index 6e2531318df7..000000000000
--- a/app-text/tetex/files/xpdf-2.02pl1-CAN-2005-3191-3.patch
+++ /dev/null
@@ -1,252 +0,0 @@
-Index: xpdf-2.02pl1/xpdf/Stream.h
-===================================================================
---- xpdf-2.02pl1.orig/xpdf/Stream.h
-+++ xpdf-2.02pl1/xpdf/Stream.h
-@@ -225,6 +225,8 @@ public:
-
- ~StreamPredictor();
-
-+ GBool isOk() { return ok; }
-+
- int lookChar();
- int getChar();
-
-@@ -242,6 +244,7 @@ private:
- int rowBytes; // bytes per line
- Guchar *predLine; // line buffer
- int predIdx; // current index in predLine
-+ GBool ok;
- };
-
- //------------------------------------------------------------------------
-Index: xpdf-2.02pl1/xpdf/Stream.cc
-===================================================================
---- xpdf-2.02pl1.orig/xpdf/Stream.cc
-+++ xpdf-2.02pl1/xpdf/Stream.cc
-@@ -15,6 +15,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <stddef.h>
-+#include <limits.h>
- #ifndef WIN32
- #include <unistd.h>
- #endif
-@@ -409,13 +410,28 @@ StreamPredictor::StreamPredictor(Stream
- width = widthA;
- nComps = nCompsA;
- nBits = nBitsA;
-+ predLine = NULL;
-+ ok = gFalse;
-
-+ if (width <= 0 || nComps <= 0 || nBits <= 0 ||
-+ nComps >= INT_MAX/nBits ||
-+ width >= INT_MAX/nComps/nBits) {
-+ return;
-+ }
- nVals = width * nComps;
-+ if (nVals * nBits + 7 <= 0) {
-+ return;
-+ }
- pixBytes = (nComps * nBits + 7) >> 3;
- rowBytes = ((nVals * nBits + 7) >> 3) + pixBytes;
-+ if (rowBytes < 0) {
-+ return;
-+ }
- predLine = (Guchar *)gmalloc(rowBytes);
- memset(predLine, 0, rowBytes);
- predIdx = rowBytes;
-+
-+ ok = gTrue;
- }
-
- StreamPredictor::~StreamPredictor() {
-@@ -981,6 +997,10 @@ LZWStream::LZWStream(Stream *strA, int p
- FilterStream(strA) {
- if (predictor != 1) {
- pred = new StreamPredictor(this, predictor, columns, colors, bits);
-+ if (!pred->isOk()) {
-+ delete pred;
-+ pred = NULL;
-+ }
- } else {
- pred = NULL;
- }
-@@ -1226,6 +1246,10 @@ CCITTFaxStream::CCITTFaxStream(Stream *s
- endOfLine = endOfLineA;
- byteAlign = byteAlignA;
- columns = columnsA;
-+ if (columns < 1 || columns >= INT_MAX / sizeof(short)) {
-+ error(-1, "invalid number of columns");
-+ exit(1);
-+ }
- rows = rowsA;
- endOfBlock = endOfBlockA;
- black = blackA;
-@@ -2864,6 +2888,11 @@ GBool DCTStream::readBaselineSOF() {
- height = read16();
- width = read16();
- numComps = str->getChar();
-+ if (numComps <= 0 || numComps > 4) {
-+ numComps = 0;
-+ error(getPos(), "Bad number of components in DCT stream");
-+ return gFalse;
-+ }
- if (prec != 8) {
- error(getPos(), "Bad DCT precision %d", prec);
- return gFalse;
-@@ -2890,6 +2919,11 @@ GBool DCTStream::readProgressiveSOF() {
- height = read16();
- width = read16();
- numComps = str->getChar();
-+ if (numComps <= 0 || numComps > 4) {
-+ numComps = 0;
-+ error(getPos(), "Bad number of components in DCT stream");
-+ return gFalse;
-+ }
- if (prec != 8) {
- error(getPos(), "Bad DCT precision %d", prec);
- return gFalse;
-@@ -2912,6 +2946,10 @@ GBool DCTStream::readScanInfo() {
-
- length = read16() - 2;
- scanInfo.numComps = str->getChar();
-+ if (scanInfo.numComps <= 0 || scanInfo.numComps > 4) {
-+ error(getPos(), "Bad number of components in DCT stream");
-+ return gFalse;
-+ }
- --length;
- if (length != 2 * scanInfo.numComps + 3) {
- error(getPos(), "Bad DCT scan info block");
-@@ -2979,12 +3017,12 @@ GBool DCTStream::readHuffmanTables() {
- while (length > 0) {
- index = str->getChar();
- --length;
-- if ((index & 0x0f) >= 4) {
-+ if ((index & ~0x10) >= 4 || (index & ~0x10) < 0) {
- error(getPos(), "Bad DCT Huffman table");
- return gFalse;
- }
- if (index & 0x10) {
-- index &= 0x0f;
-+ index &= 0x03;
- if (index >= numACHuffTables)
- numACHuffTables = index+1;
- tbl = &acHuffTables[index];
-@@ -3072,9 +3110,11 @@ int DCTStream::readMarker() {
- do {
- do {
- c = str->getChar();
-+ if(c == EOF) return EOF;
- } while (c != 0xff);
- do {
- c = str->getChar();
-+ if(c == EOF) return EOF;
- } while (c == 0xff);
- } while (c == 0x00);
- return c;
-@@ -3182,6 +3222,10 @@ FlateStream::FlateStream(Stream *strA, i
- FilterStream(strA) {
- if (predictor != 1) {
- pred = new StreamPredictor(this, predictor, columns, colors, bits);
-+ if (!pred->isOk()) {
-+ delete pred;
-+ pred = NULL;
-+ }
- } else {
- pred = NULL;
- }
-Index: xpdf-2.02pl1/xpdf/JBIG2Stream.cc
-===================================================================
---- xpdf-2.02pl1.orig/xpdf/JBIG2Stream.cc
-+++ xpdf-2.02pl1/xpdf/JBIG2Stream.cc
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-@@ -1001,7 +1002,16 @@ JBIG2Bitmap::JBIG2Bitmap(Guint segNumA,
- w = wA;
- h = hA;
- line = (wA + 7) >> 3;
-- data = (Guchar *)gmalloc(h * line);
-+
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
-+
-+ // need to allocate one extra guard byte for use in combine()
-+ data = (Guchar *)gmalloc(h * line + 1);
-+ data[h * line] = 0;
- }
-
- JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, JBIG2Bitmap *bitmap):
-@@ -1010,8 +1020,17 @@ JBIG2Bitmap::JBIG2Bitmap(Guint segNumA,
- w = bitmap->w;
- h = bitmap->h;
- line = bitmap->line;
-- data = (Guchar *)gmalloc(h * line);
-+
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
-+
-+ // need to allocate one extra guard byte for use in combine()
-+ data = (Guchar *)gmalloc(h * line + 1);
- memcpy(data, bitmap->data, h * line);
-+ data[h * line] = 0;
- }
-
- JBIG2Bitmap::~JBIG2Bitmap() {
-@@ -1036,10 +1055,14 @@ JBIG2Bitmap *JBIG2Bitmap::getSlice(Guint
- }
-
- void JBIG2Bitmap::expand(int newH, Guint pixel) {
-- if (newH <= h) {
-+ if (newH <= h || line <= 0 || newH >= (INT_MAX - 1)/ line) {
-+ error(-1, "invalid width/height");
-+ gfree(data);
-+ data = NULL;
- return;
- }
-- data = (Guchar *)grealloc(data, newH * line);
-+ // need to allocate one extra guard byte for use in combine()
-+ data = (Guchar *)grealloc(data, newH * line + 1);
- if (pixel) {
- memset(data + h * line, 0xff, (newH - h) * line);
- } else {
-@@ -2576,6 +2599,15 @@ void JBIG2Stream::readHalftoneRegionSeg(
- error(getPos(), "Bad symbol dictionary reference in JBIG2 halftone segment");
- return;
- }
-+ if (gridH == 0 || gridW >= INT_MAX / gridH) {
-+ error(getPos(), "Bad size in JBIG2 halftone segment");
-+ return;
-+ }
-+ if (w == 0 || h >= INT_MAX / w) {
-+ error(getPos(), "Bad size in JBIG2 bitmap segment");
-+ return;
-+ }
-+
- patternDict = (JBIG2PatternDict *)seg;
- bpp = 0;
- i = 1;
-@@ -3205,6 +3237,11 @@ JBIG2Bitmap *JBIG2Stream::readGenericRef
- JBIG2BitmapPtr tpgrCXPtr0, tpgrCXPtr1, tpgrCXPtr2;
- int x, y, pix;
-
-+ if (w < 0 || h <= 0 || w >= INT_MAX / h) {
-+ error(-1, "invalid width/height");
-+ return NULL;
-+ }
-+
- bitmap = new JBIG2Bitmap(0, w, h);
- bitmap->clearToZero();
-
-# vim: syntax=diff
diff --git a/app-text/tetex/files/xpdf-3.00pl2-CAN-2004-1125.patch b/app-text/tetex/files/xpdf-3.00pl2-CAN-2004-1125.patch
deleted file mode 100644
index 119de236d50b..000000000000
--- a/app-text/tetex/files/xpdf-3.00pl2-CAN-2004-1125.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-*** Gfx.cc.orig Sun Dec 12 16:04:43 2004
---- Gfx.cc Sun Dec 12 16:05:16 2004
-***************
-*** 2654,2660 ****
- haveMask = gFalse;
- dict->lookup("Mask", &maskObj);
- if (maskObj.isArray()) {
-! for (i = 0; i < maskObj.arrayGetLength(); ++i) {
- maskObj.arrayGet(i, &obj1);
- maskColors[i] = obj1.getInt();
- obj1.free();
---- 2654,2662 ----
- haveMask = gFalse;
- dict->lookup("Mask", &maskObj);
- if (maskObj.isArray()) {
-! for (i = 0;
-! i < maskObj.arrayGetLength() && i < 2*gfxColorMaxComps;
-! ++i) {
- maskObj.arrayGet(i, &obj1);
- maskColors[i] = obj1.getInt();
- obj1.free();
-*** GfxState.cc.orig Sun Dec 12 16:04:48 2004
---- GfxState.cc Sun Dec 12 16:06:38 2004
-***************
-*** 708,713 ****
---- 708,718 ----
- }
- nCompsA = obj2.getInt();
- obj2.free();
-+ if (nCompsA > gfxColorMaxComps) {
-+ error(-1, "ICCBased color space with too many (%d > %d) components",
-+ nCompsA, gfxColorMaxComps);
-+ nCompsA = gfxColorMaxComps;
-+ }
- if (dict->lookup("Alternate", &obj2)->isNull() ||
- !(altA = GfxColorSpace::parse(&obj2))) {
- switch (nCompsA) {
diff --git a/app-text/tetex/files/xpdf-3.00pl3-CAN-2005-0064.patch b/app-text/tetex/files/xpdf-3.00pl3-CAN-2005-0064.patch
deleted file mode 100644
index d7d2294c8527..000000000000
--- a/app-text/tetex/files/xpdf-3.00pl3-CAN-2005-0064.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-*** XRef.cc.orig Wed Jan 12 17:10:53 2005
---- XRef.cc Wed Jan 12 17:11:22 2005
-***************
-*** 793,798 ****
---- 793,801 ----
- } else {
- keyLength = 5;
- }
-+ if (keyLength > 16) {
-+ keyLength = 16;
-+ }
- permFlags = permissions.getInt();
- if (encVersion >= 1 && encVersion <= 2 &&
- encRevision >= 2 && encRevision <= 3) {
diff --git a/app-text/tetex/files/xpdf-3.02pl2.patch b/app-text/tetex/files/xpdf-3.02pl2.patch
deleted file mode 100644
index 1d962f328a02..000000000000
--- a/app-text/tetex/files/xpdf-3.02pl2.patch
+++ /dev/null
@@ -1,640 +0,0 @@
-Index: tetex-src-3.0/libs/xpdf/xpdf/Stream.cc
-===================================================================
---- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.cc
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc
-@@ -1285,19 +1285,24 @@ CCITTFaxStream::CCITTFaxStream(Stream *s
- error (-1, "invalid number of columns: %d\n", columns);
- exit (1);
- }
-+ else if (columns > INT_MAX - 2) columns = INT_MAX - 2;
- rows = rowsA;
- endOfBlock = endOfBlockA;
- black = blackA;
-- refLine = (short *)gmallocn(columns + 4, sizeof(short));
-- codingLine = (short *)gmallocn(columns + 3, sizeof(short));
-+ // 0 <= codingLine[0] < codingLine[1] < ... < codingLine[n] = columns
-+ // ---> max codingLine size = columns + 1
-+ // refLine has one extra guard entry at the end
-+ // ---> max refLine size = columns + 2
-+ codingLine = (int *)gmallocn(columns + 1, sizeof(int));
-+ refLine = (int *)gmallocn(columns + 2, sizeof(int));
-
- eof = gFalse;
- row = 0;
- nextLine2D = encoding < 0;
- inputBits = 0;
-- codingLine[0] = 0;
-- codingLine[1] = refLine[2] = columns;
-- a0 = 1;
-+ codingLine[0] = columns;
-+ a0i = 0;
-+ outputBits = 0;
-
- buf = EOF;
- }
-@@ -1316,9 +1321,9 @@ void CCITTFaxStream::reset() {
- row = 0;
- nextLine2D = encoding < 0;
- inputBits = 0;
-- codingLine[0] = 0;
-- codingLine[1] = refLine[2] = columns;
-- a0 = 1;
-+ codingLine[0] = columns;
-+ a0i = 0;
-+ outputBits = 0;
- buf = EOF;
-
- // skip any initial zero bits and end-of-line marker, and get the 2D
-@@ -1335,164 +1340,228 @@ void CCITTFaxStream::reset() {
- }
- }
-
-+inline void CCITTFaxStream::addPixels(int a1, int blackPixels) {
-+ if (a1 > codingLine[a0i]) {
-+ if (a1 > columns) {
-+ error(getPos(), "CCITTFax row is wrong length (%d)", a1);
-+ err = gTrue;
-+ a1 = columns;
-+ }
-+ if ((a0i & 1) ^ blackPixels) {
-+ ++a0i;
-+ }
-+ codingLine[a0i] = a1;
-+ }
-+}
-+
-+inline void CCITTFaxStream::addPixelsNeg(int a1, int blackPixels) {
-+ if (a1 > codingLine[a0i]) {
-+ if (a1 > columns) {
-+ error(getPos(), "CCITTFax row is wrong length (%d)", a1);
-+ err = gTrue;
-+ a1 = columns;
-+ }
-+ if ((a0i & 1) ^ blackPixels) {
-+ ++a0i;
-+ }
-+ codingLine[a0i] = a1;
-+ } else if (a1 < codingLine[a0i]) {
-+ if (a1 < 0) {
-+ error(getPos(), "Invalid CCITTFax code");
-+ err = gTrue;
-+ a1 = 0;
-+ }
-+ while (a0i > 0 && a1 <= codingLine[a0i - 1]) {
-+ --a0i;
-+ }
-+ codingLine[a0i] = a1;
-+ }
-+}
-+
- int CCITTFaxStream::lookChar() {
- short code1, code2, code3;
-- int a0New;
-- GBool err, gotEOL;
-- int ret;
-- int bits, i;
--
-- // if at eof just return EOF
-- if (eof && codingLine[a0] >= columns) {
-- return EOF;
-+ int b1i, blackPixels, i, bits;
-+ GBool gotEOL;
-+
-+ if (buf != EOF) {
-+ return buf;
- }
-
- // read the next row
-- err = gFalse;
-- if (codingLine[a0] >= columns) {
-+ if (outputBits == 0) {
-
-+ // if at eof just return EOF
-+ if (eof) {
-+ return EOF;
-+ }
-+
-+ err = gFalse;
-+
- // 2-D encoding
- if (nextLine2D) {
- for (i = 0; codingLine[i] < columns; ++i)
- refLine[i] = codingLine[i];
-- refLine[i] = refLine[i + 1] = columns;
-- b1 = 1;
-- a0New = codingLine[a0 = 0] = 0;
-- do {
-- code1 = getTwoDimCode();
-+ refLine[i++] = columns;
-+ refLine[i] = columns;
-+ codingLine[0] = 0;
-+ a0i = 0;
-+ b1i = 0;
-+ blackPixels = 0;
-+ // invariant:
-+ // refLine[b1i-1] <= codingLine[a0i] < refLine[b1i] < refLine[b1i+1]
-+ // <= columns
-+ // exception at left edge:
-+ // codingLine[a0i = 0] = refLine[b1i = 0] = 0 is possible
-+ // exception at right edge:
-+ // refLine[b1i] = refLine[b1i+1] = columns is possible
-+ while (codingLine[a0i] < columns) {
-+ code1 = getTwoDimCode();
- switch (code1) {
-- case twoDimPass:
-- if (refLine[b1] < columns) {
-- a0New = refLine[b1 + 1];
-- b1 += 2;
-- }
-- break;
-- case twoDimHoriz:
-- if ((a0 & 1) == 0) {
-- code1 = code2 = 0;
-- do {
-- code1 += code3 = getWhiteCode();
-- } while (code3 >= 64);
-- do {
-- code2 += code3 = getBlackCode();
-- } while (code3 >= 64);
-- } else {
-- code1 = code2 = 0;
-- do {
-- code1 += code3 = getBlackCode();
-- } while (code3 >= 64);
-- do {
-- code2 += code3 = getWhiteCode();
-- } while (code3 >= 64);
-- }
-- if (code1 > 0 || code2 > 0) {
-- codingLine[a0 + 1] = a0New + code1;
-- ++a0;
-- a0New = codingLine[a0 + 1] = codingLine[a0] + code2;
-- ++a0;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVert0:
-- a0New = codingLine[++a0] = refLine[b1];
-- if (refLine[b1] < columns) {
-- ++b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertR1:
-- a0New = codingLine[++a0] = refLine[b1] + 1;
-- if (refLine[b1] < columns) {
-- ++b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertL1:
-- if (a0 == 0 || refLine[b1] - 1 > a0New) {
-- a0New = codingLine[++a0] = refLine[b1] - 1;
-- --b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertR2:
-- a0New = codingLine[++a0] = refLine[b1] + 2;
-- if (refLine[b1] < columns) {
-- ++b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertL2:
-- if (a0 == 0 || refLine[b1] - 2 > a0New) {
-- a0New = codingLine[++a0] = refLine[b1] - 2;
-- --b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertR3:
-- a0New = codingLine[++a0] = refLine[b1] + 3;
-- if (refLine[b1] < columns) {
-- ++b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case twoDimVertL3:
-- if (a0 == 0 || refLine[b1] - 3 > a0New) {
-- a0New = codingLine[++a0] = refLine[b1] - 3;
-- --b1;
-- while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
-- b1 += 2;
-- }
-- break;
-- case EOF:
-- eof = gTrue;
-- codingLine[a0 = 0] = columns;
-- return EOF;
-- default:
-- error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
-- err = gTrue;
-- break;
-+ case twoDimPass:
-+ addPixels(refLine[b1i + 1], blackPixels);
-+ if (refLine[b1i + 1] < columns) {
-+ b1i += 2;
-+ }
-+ break;
-+ case twoDimHoriz:
-+ code1 = code2 = 0;
-+ if (blackPixels) {
-+ do {
-+ code1 += code3 = getBlackCode();
-+ } while (code3 >= 64);
-+ do {
-+ code2 += code3 = getWhiteCode();
-+ } while (code3 >= 64);
-+ } else {
-+ do {
-+ code1 += code3 = getWhiteCode();
-+ } while (code3 >= 64);
-+ do {
-+ code2 += code3 = getBlackCode();
-+ } while (code3 >= 64);
-+ }
-+ addPixels(codingLine[a0i] + code1, blackPixels);
-+ if (codingLine[a0i] < columns) {
-+ addPixels(codingLine[a0i] + code2, blackPixels ^ 1);
-+ }
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ break;
-+ case twoDimVertR3:
-+ addPixels(refLine[b1i] + 3, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ ++b1i;
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVertR2:
-+ addPixels(refLine[b1i] + 2, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ ++b1i;
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVertR1:
-+ addPixels(refLine[b1i] + 1, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ ++b1i;
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVert0:
-+ addPixels(refLine[b1i], blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ ++b1i;
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVertL3:
-+ addPixelsNeg(refLine[b1i] - 3, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ if (b1i > 0) {
-+ --b1i;
-+ } else {
-+ ++b1i;
-+ }
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVertL2:
-+ addPixelsNeg(refLine[b1i] - 2, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ if (b1i > 0) {
-+ --b1i;
-+ } else {
-+ ++b1i;
-+ }
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case twoDimVertL1:
-+ addPixelsNeg(refLine[b1i] - 1, blackPixels);
-+ blackPixels ^= 1;
-+ if (codingLine[a0i] < columns) {
-+ if (b1i > 0) {
-+ --b1i;
-+ } else {
-+ ++b1i;
-+ }
-+ while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+ b1i += 2;
-+ }
-+ }
-+ break;
-+ case EOF:
-+ addPixels(columns, 0);
-+ eof = gTrue;
-+ break;
-+ default:
-+ error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
-+ addPixels(columns, 0);
-+ err = gTrue;
-+ break;
-+ }
- }
-- } while (codingLine[a0] < columns);
-
- // 1-D encoding
- } else {
-- codingLine[a0 = 0] = 0;
-- while (1) {
-- code1 = 0;
-- do {
-- code1 += code3 = getWhiteCode();
-- } while (code3 >= 64);
-- codingLine[a0+1] = codingLine[a0] + code1;
-- ++a0;
-- if (codingLine[a0] >= columns)
-- break;
-- code2 = 0;
-- do {
-- code2 += code3 = getBlackCode();
-- } while (code3 >= 64);
-- codingLine[a0+1] = codingLine[a0] + code2;
-- ++a0;
-- if (codingLine[a0] >= columns)
-- break;
-- }
-- }
--
-- if (codingLine[a0] != columns) {
-- error(getPos(), "CCITTFax row is wrong length (%d)", codingLine[a0]);
-- // force the row to be the correct length
-- while (codingLine[a0] > columns) {
-- --a0;
-+ codingLine[0] = 0;
-+ a0i = 0;
-+ blackPixels = 0;
-+ while (codingLine[a0i] < columns) {
-+ code1 = 0;
-+ if (blackPixels) {
-+ do {
-+ code1 += code3 = getBlackCode();
-+ } while (code3 >= 64);
-+ } else {
-+ do {
-+ code1 += code3 = getWhiteCode();
-+ } while (code3 >= 64);
-+ }
-+ addPixels(codingLine[a0i] + code1, blackPixels);
-+ blackPixels ^= 1;
-+ }
- }
-- codingLine[++a0] = columns;
-- err = gTrue;
-- }
-
- // byte-align the row
- if (byteAlign) {
-@@ -1552,14 +1621,17 @@ int CCITTFaxStream::lookChar() {
- // this if we know the stream contains end-of-line markers because
- // the "just plow on" technique tends to work better otherwise
- } else if (err && endOfLine) {
-- do {
-+ while (1) {
-+ code1 = lookBits(13);
- if (code1 == EOF) {
- eof = gTrue;
- return EOF;
- }
-+ if ((code1 >> 1) == 0x001) {
-+ break;
-+ }
- eatBits(1);
-- code1 = lookBits(13);
-- } while ((code1 >> 1) != 0x001);
-+ }
- eatBits(12);
- if (encoding > 0) {
- eatBits(1);
-@@ -1567,11 +1639,11 @@ int CCITTFaxStream::lookChar() {
- }
- }
-
-- a0 = 0;
-- outputBits = codingLine[1] - codingLine[0];
-- if (outputBits == 0) {
-- a0 = 1;
-- outputBits = codingLine[2] - codingLine[1];
-+ // set up for output
-+ if (codingLine[0] > 0) {
-+ outputBits = codingLine[a0i = 0];
-+ } else {
-+ outputBits = codingLine[a0i = 1];
- }
-
- ++row;
-@@ -1579,39 +1651,43 @@ int CCITTFaxStream::lookChar() {
-
- // get a byte
- if (outputBits >= 8) {
-- ret = ((a0 & 1) == 0) ? 0xff : 0x00;
-- if ((outputBits -= 8) == 0) {
-- ++a0;
-- if (codingLine[a0] < columns) {
-- outputBits = codingLine[a0 + 1] - codingLine[a0];
-- }
-+ buf = (a0i & 1) ? 0x00 : 0xff;
-+ outputBits -= 8;
-+ if (outputBits == 0 && codingLine[a0i] < columns) {
-+ ++a0i;
-+ outputBits = codingLine[a0i] - codingLine[a0i - 1];
- }
- } else {
- bits = 8;
-- ret = 0;
-+ buf = 0;
- do {
- if (outputBits > bits) {
-- i = bits;
-- bits = 0;
-- if ((a0 & 1) == 0) {
-- ret |= 0xff >> (8 - i);
-+ buf <<= bits;
-+ if (!(a0i & 1)) {
-+ buf |= 0xff >> (8 - bits);
- }
-- outputBits -= i;
-+ outputBits -= bits;
-+ bits = 0;
- } else {
-- i = outputBits;
-- bits -= outputBits;
-- if ((a0 & 1) == 0) {
-- ret |= (0xff >> (8 - i)) << bits;
-+ buf <<= outputBits;
-+ if (!(a0i & 1)) {
-+ buf |= 0xff >> (8 - outputBits);
- }
-+ bits -= outputBits;
- outputBits = 0;
-- ++a0;
-- if (codingLine[a0] < columns) {
-- outputBits = codingLine[a0 + 1] - codingLine[a0];
-+ if (codingLine[a0i] < columns) {
-+ ++a0i;
-+ outputBits = codingLine[a0i] - codingLine[a0i - 1];
-+ } else if (bits > 0) {
-+ buf <<= bits;
-+ bits = 0;
- }
- }
-- } while (bits > 0 && codingLine[a0] < columns);
-+ } while (bits);
-+ }
-+ if (black) {
-+ buf ^= 0xff;
- }
-- buf = black ? (ret ^ 0xff) : ret;
- return buf;
- }
-
-@@ -1653,6 +1729,9 @@ short CCITTFaxStream::getWhiteCode() {
- code = 0; // make gcc happy
- if (endOfBlock) {
- code = lookBits(12);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if ((code >> 5) == 0) {
- p = &whiteTab1[code];
- } else {
-@@ -1665,6 +1744,9 @@ short CCITTFaxStream::getWhiteCode() {
- } else {
- for (n = 1; n <= 9; ++n) {
- code = lookBits(n);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if (n < 9) {
- code <<= 9 - n;
- }
-@@ -1676,6 +1758,9 @@ short CCITTFaxStream::getWhiteCode() {
- }
- for (n = 11; n <= 12; ++n) {
- code = lookBits(n);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if (n < 12) {
- code <<= 12 - n;
- }
-@@ -1701,6 +1786,9 @@ short CCITTFaxStream::getBlackCode() {
- code = 0; // make gcc happy
- if (endOfBlock) {
- code = lookBits(13);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if ((code >> 7) == 0) {
- p = &blackTab1[code];
- } else if ((code >> 9) == 0) {
-@@ -1715,6 +1803,9 @@ short CCITTFaxStream::getBlackCode() {
- } else {
- for (n = 2; n <= 6; ++n) {
- code = lookBits(n);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if (n < 6) {
- code <<= 6 - n;
- }
-@@ -1726,6 +1817,9 @@ short CCITTFaxStream::getBlackCode() {
- }
- for (n = 7; n <= 12; ++n) {
- code = lookBits(n);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if (n < 12) {
- code <<= 12 - n;
- }
-@@ -1739,6 +1833,9 @@ short CCITTFaxStream::getBlackCode() {
- }
- for (n = 10; n <= 13; ++n) {
- code = lookBits(n);
-+ if (code == EOF) {
-+ return 1;
-+ }
- if (n < 13) {
- code <<= 13 - n;
- }
-@@ -1961,6 +2058,12 @@ void DCTStream::reset() {
- // allocate a buffer for the whole image
- bufWidth = ((width + mcuWidth - 1) / mcuWidth) * mcuWidth;
- bufHeight = ((height + mcuHeight - 1) / mcuHeight) * mcuHeight;
-+ if (bufWidth <= 0 || bufHeight <= 0 ||
-+ bufWidth > INT_MAX / bufWidth / (int)sizeof(int)) {
-+ error(getPos(), "Invalid image size in DCT stream");
-+ y = height;
-+ return;
-+ }
- for (i = 0; i < numComps; ++i) {
- frameBuf[i] = (int *)gmallocn(bufWidth * bufHeight, sizeof(int));
- memset(frameBuf[i], 0, bufWidth * bufHeight * sizeof(int));
-@@ -3024,6 +3127,11 @@ GBool DCTStream::readScanInfo() {
- }
- scanInfo.firstCoeff = str->getChar();
- scanInfo.lastCoeff = str->getChar();
-+ if (scanInfo.firstCoeff < 0 || scanInfo.lastCoeff > 63 ||
-+ scanInfo.firstCoeff > scanInfo.lastCoeff) {
-+ error(getPos(), "Bad DCT coefficient numbers in scan info block");
-+ return gFalse;
-+ }
- c = str->getChar();
- scanInfo.ah = (c >> 4) & 0x0f;
- scanInfo.al = c & 0x0f;
-Index: tetex-src-3.0/libs/xpdf/xpdf/Stream.h
-===================================================================
---- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.h
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.h
-@@ -519,13 +519,15 @@ private:
- int row; // current row
- int inputBuf; // input buffer
- int inputBits; // number of bits in input buffer
-- short *refLine; // reference line changing elements
-- int b1; // index into refLine
-- short *codingLine; // coding line changing elements
-- int a0; // index into codingLine
-+ int *codingLine; // coding line changing elements
-+ int *refLine; // reference line changing elements
-+ int a0i; // index into codingLine
-+ GBool err; // error on current line
- int outputBits; // remaining ouput bits
- int buf; // character buffer
-
-+ void addPixels(int a1, int black);
-+ void addPixelsNeg(int a1, int black);
- short getTwoDimCode();
- short getWhiteCode();
- short getBlackCode();
diff --git a/app-text/tetex/files/xpdf-CESA-2004-007-xpdf2-newer.diff b/app-text/tetex/files/xpdf-CESA-2004-007-xpdf2-newer.diff
deleted file mode 100644
index 55a24458c9a4..000000000000
--- a/app-text/tetex/files/xpdf-CESA-2004-007-xpdf2-newer.diff
+++ /dev/null
@@ -1,78 +0,0 @@
---- XRef.cc.orig 2004-09-17 23:54:38.000000000 -0700
-+++ XRef.cc 2004-09-25 17:59:36.000000000 -0700
-@@ -76,6 +76,12 @@
-
- // trailer is ok - read the xref table
- } else {
-+ if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
-+ error(-1, "Invalid 'size' inside xref table.");
-+ ok = gFalse;
-+ errCode = errDamaged;
-+ return;
-+ }
- entries = (XRefEntry *)gmalloc(size * sizeof(XRefEntry));
- for (i = 0; i < size; ++i) {
- entries[i].offset = 0xffffffff;
-@@ -267,6 +273,10 @@
- // table size
- if (first + n > size) {
- newSize = size + 256;
-+ if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'newSize'");
-+ goto err2;
-+ }
- entries = (XRefEntry *)grealloc(entries, newSize * sizeof(XRefEntry));
- for (i = size; i < newSize; ++i) {
- entries[i].offset = 0xffffffff;
-@@ -410,6 +420,10 @@
- if (!strncmp(p, "obj", 3)) {
- if (num >= size) {
- newSize = (num + 1 + 255) & ~255;
-+ if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ error(-1, "Invalid 'obj' parameters.");
-+ return gFalse;
-+ }
- entries = (XRefEntry *)
- grealloc(entries, newSize * sizeof(XRefEntry));
- for (i = size; i < newSize; ++i) {
-@@ -431,6 +445,11 @@
- } else if (!strncmp(p, "endstream", 9)) {
- if (streamEndsLen == streamEndsSize) {
- streamEndsSize += 64;
-+ if (streamEndsSize*sizeof(int)/sizeof(int) != streamEndsSize) {
-+ error(-1, "Invalid 'endstream' parameter.");
-+ return gFalse;
-+ }
-+
- streamEnds = (Guint *)grealloc(streamEnds,
- streamEndsSize * sizeof(int));
- }
---- Catalog.cc.orig 2004-10-18 16:26:39.388666476 +0200
-+++ Catalog.cc 2004-10-18 16:27:28.004749073 +0200
-@@ -62,6 +62,12 @@
- }
- pagesSize = numPages0 = obj.getInt();
- obj.free();
-+ if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
-+ pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+ error(-1, "Invalid 'pagesSize'");
-+ ok = gFalse;
-+ return;
-+ }
- pages = (Page **)gmalloc(pagesSize * sizeof(Page *));
- pageRefs = (Ref *)gmalloc(pagesSize * sizeof(Ref));
- for (i = 0; i < pagesSize; ++i) {
-@@ -186,6 +192,11 @@
- }
- if (start >= pagesSize) {
- pagesSize += 32;
-+ if (pagesSize*sizeof(Page *)/sizeof(Page *) != pagesSize ||
-+ pagesSize*sizeof(Ref)/sizeof(Ref) != pagesSize) {
-+ error(-1, "Invalid 'pagesSize' parameter.");
-+ goto err3;
-+ }
- pages = (Page **)grealloc(pages, pagesSize * sizeof(Page *));
- pageRefs = (Ref *)grealloc(pageRefs, pagesSize * sizeof(Ref));
- for (j = pagesSize - 32; j < pagesSize; ++j) {
-
-
diff --git a/app-text/tetex/files/xpdf-goo-sizet.patch b/app-text/tetex/files/xpdf-goo-sizet.patch
deleted file mode 100644
index 5d90c5120bd4..000000000000
--- a/app-text/tetex/files/xpdf-goo-sizet.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ru xpdf-2.02pl1/goo/gmem.c xpdf-2.02pl1/goo/gmem.c
---- xpdf-2.02pl1/goo/gmem.c 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.c 2004-10-29 15:13:34.866919791 +0200
-@@ -53,9 +53,9 @@
-
- #endif /* DEBUG_MEM */
-
--void *gmalloc(int size) {
-+void *gmalloc(size_t size) {
- #ifdef DEBUG_MEM
-- int size1;
-+ size_t size1;
- char *mem;
- GMemHdr *hdr;
- void *data;
-@@ -94,11 +94,11 @@
- #endif
- }
-
--void *grealloc(void *p, int size) {
-+void *grealloc(void *p, size_t size) {
- #ifdef DEBUG_MEM
- GMemHdr *hdr;
- void *q;
-- int oldSize;
-+ size_t oldSize;
-
- if (size == 0) {
- if (p)
-@@ -137,7 +137,7 @@
-
- void gfree(void *p) {
- #ifdef DEBUG_MEM
-- int size;
-+ size_t size;
- GMemHdr *hdr;
- GMemHdr *prevHdr, *q;
- int lst;
-diff -ru xpdf-2.02pl1/goo/gmem.h xpdf-2.02pl1/goo/gmem.h
---- xpdf-2.02pl1/goo/gmem.h 2003-06-16 22:01:26.000000000 +0200
-+++ xpdf-2.02pl1/goo/gmem.h 2004-10-29 15:13:50.864027201 +0200
-@@ -19,13 +19,13 @@
- * Same as malloc, but prints error message and exits if malloc()
- * returns NULL.
- */
--extern void *gmalloc(int size);
-+extern void *gmalloc(size_t size);
-
- /*
- * Same as realloc, but prints error message and exits if realloc()
- * returns NULL. If <p> is NULL, calls malloc instead of realloc().
- */
--extern void *grealloc(void *p, int size);
-+extern void *grealloc(void *p, size_t size);
-
- /*
- * Same as free, but checks for and ignores NULL pointers.
diff --git a/app-text/tetex/files/xpdf2-underflow.patch b/app-text/tetex/files/xpdf2-underflow.patch
deleted file mode 100644
index 9371be84352e..000000000000
--- a/app-text/tetex/files/xpdf2-underflow.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -ru xpdf-2.02pl1/xpdf/XRef.cc xpdf-2.02pl1/xpdf/XRef.cc
---- xpdf-2.02pl1/xpdf/XRef.cc 2004-10-29 15:16:45.790089001 +0200
-+++ xpdf-2.02pl1/xpdf/XRef.cc 2004-10-29 15:11:54.132168025 +0200
-@@ -66,6 +66,8 @@
- start = str->getStart();
- pos = readTrailer();
-
-+ entries = NULL;
-+
- // if there was a problem with the trailer,
- // try to reconstruct the xref table
- if (pos == 0) {
-@@ -76,7 +78,7 @@
-
- // trailer is ok - read the xref table
- } else {
-- if (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size) {
-+ if ((size < 0) || (size*sizeof(XRefEntry)/sizeof(XRefEntry) != size)) {
- error(-1, "Invalid 'size' inside xref table.");
- ok = gFalse;
- errCode = errDamaged;
-@@ -181,7 +183,7 @@
- n = atoi(p);
- while ('0' <= *p && *p <= '9') ++p;
- while (isspace(*p)) ++p;
-- if (p == buf)
-+ if ((p == buf) || (n < 0)) /* must make progress */
- return 0;
- pos1 += (p - buf) + n * 20;
- }
-@@ -255,6 +257,10 @@
- }
- s[i] = '\0';
- first = atoi(s);
-+ if (first < 0) {
-+ error(-1, "Invalid 'first'");
-+ goto err2;
-+ }
- while ((c = str->lookChar()) != EOF && isspace(c)) {
- str->getChar();
- }
-@@ -266,6 +272,10 @@
- }
- s[i] = '\0';
- n = atoi(s);
-+ if (n<=0) {
-+ error(-1, "Invalid 'n'");
-+ goto err2;
-+ }
- while ((c = str->lookChar()) != EOF && isspace(c)) {
- str->getChar();
- }
-@@ -273,7 +283,7 @@
- // table size
- if (first + n > size) {
- newSize = size + 256;
-- if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
- error(-1, "Invalid 'newSize'");
- goto err2;
- }
-@@ -406,6 +416,10 @@
- // look for object
- } else if (isdigit(*p)) {
- num = atoi(p);
-+ if (num < 0) {
-+ error(-1, "Invalid 'num' parameters.");
-+ return gFalse;
-+ }
- do {
- ++p;
- } while (*p && isdigit(*p));
-@@ -425,7 +439,7 @@
- if (!strncmp(p, "obj", 3)) {
- if (num >= size) {
- newSize = (num + 1 + 255) & ~255;
-- if (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize) {
-+ if ((newSize < 0) || (newSize*sizeof(XRefEntry)/sizeof(XRefEntry) != newSize)) {
- error(-1, "Invalid 'obj' parameters.");
- return gFalse;
- }
diff --git a/app-text/tetex/metadata.xml b/app-text/tetex/metadata.xml
deleted file mode 100644
index 283597daa5a9..000000000000
--- a/app-text/tetex/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>tex</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <description>
- Nobody is really maintaining it in the TeX herd. Upstream has abandonned support since May 2006.
- Feel free to either adopt it or ask for its removal once nothing will require it anymore.
- </description>
- </maintainer>
-</pkgmetadata>
diff --git a/app-text/tetex/tetex-2.0.2-r9.ebuild b/app-text/tetex/tetex-2.0.2-r9.ebuild
deleted file mode 100644
index c8653ae14d05..000000000000
--- a/app-text/tetex/tetex-2.0.2-r9.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r9.ebuild,v 1.14 2009/03/12 00:12:36 fauli Exp $
-
-inherit tetex-2 flag-o-matic
-
-DESCRIPTION="a complete TeX distribution"
-HOMEPAGE="http://tug.org/teTeX/"
-
-KEYWORDS="~mips"
-IUSE=""
-
-src_unpack() {
- tetex-2_src_unpack
-
- # bug 75801
- EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
- EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
- EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
- EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl2-CAN-2004-1125.patch
- EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-CAN-2005-0064.patch
-
- # bug 122365
- EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/tetex-2.0.2-flex-unput.patch || die
-
- #bug 115775
- EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p2" epatch ${FILESDIR}/xpdf-2.02pl1-CAN-2005-3191-3.patch
-
- EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xdvizilla.patch
-
- # bug 85404
- EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-epstopdf-wrong-rotation.patch
-
- # bug 118264
- EPATCH_OPTS="-d ${WORKDIR} -p0" epatch ${FILESDIR}/${P}-dvi-draw-conflicting-types.patch
-
- # bug 80985
- EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-use-system-libtool.patch
-
- # bug 115775 (from comment 17)
- EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-skip_bibtex_test.patch
-
-}
-
-src_compile() {
- use amd64 && replace-flags "-O3" "-O2"
- tetex_src_compile
-}
-
-src_install() {
- insinto /usr/share/texmf/tex/latex/greek
- doins ${FILESDIR}/iso-8859-7.def
- tetex-2_src_install
-}
diff --git a/app-text/tetex/tetex-3.0_p1-r6.ebuild b/app-text/tetex/tetex-3.0_p1-r6.ebuild
deleted file mode 100644
index f4e4371c01fc..000000000000
--- a/app-text/tetex/tetex-3.0_p1-r6.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0_p1-r6.ebuild,v 1.11 2009/03/17 15:01:40 mr_bones_ Exp $
-
-inherit tetex-3 flag-o-matic versionator virtualx autotools
-
-SMALL_PV=$(get_version_component_range 1-2 ${PV})
-TETEX_TEXMF_PV=${SMALL_PV}
-S="${WORKDIR}/tetex-src-${SMALL_PV}"
-
-TETEX_SRC="tetex-src-${PV}.tar.gz"
-TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
-#TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
-TETEX_TEXMF_SRC=""
-
-DESCRIPTION="a complete TeX distribution"
-HOMEPAGE="http://tug.org/teTeX/"
-
-SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib
-SRC_URI="mirror://gentoo/${TETEX_SRC}
- ${SRC_PATH_TETEX}/${TETEX_TEXMF}
- mirror://gentoo/${P}-gentoo.tar.gz
- mirror://gentoo/${P}-dviljk-security-fixes.patch.bz2"
-
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-
-# these are defined in tetex.eclass and tetex-3.eclass
-IUSE=""
-DEPEND="${DEPEND} media-libs/gd"
-RDEPEND="${RDEPEND} media-libs/gd"
-
-src_unpack() {
- tetex-3_src_unpack
- cd "${WORKDIR}"
- unpack ${P}-dviljk-security-fixes.patch.bz2
- cd "${S}"
- epatch "${FILESDIR}/${PN}-${SMALL_PV}-kpathsea-pic.patch"
-
- # bug 85404
- epatch "${FILESDIR}/${PN}-${SMALL_PV}-epstopdf-wrong-rotation.patch"
-
- epatch "${FILESDIR}/${P}-amd64-xdvik-wp.patch"
- epatch "${FILESDIR}/${P}-mptest.patch"
-
- #bug 98029
- epatch "${FILESDIR}/${P}-fmtutil-etex.patch"
-
- #bug 115775
- epatch "${FILESDIR}/${P}-xpdf-vulnerabilities.patch"
-
- # bug 94860
- epatch "${FILESDIR}/${P}-pdftosrc-install.patch"
-
- # bug 126918
- epatch "${FILESDIR}/${P}-create-empty-files.patch"
-
- # bug 94901
- epatch "${FILESDIR}/${P}-dvipdfm-timezone.patch"
-
- # security bug #170861
- epatch "${FILESDIR}/${P}-CVE-2007-0650.patch"
-
- # security bug #188172
- epatch "${FILESDIR}/${P}-xpdf-CVE-2007-3387.patch"
-
- # security bug #198238
- epatch "${FILESDIR}/${P}-dvips_bufferoverflow.patch"
-
- # securty bug #196735
- epatch "${FILESDIR}/xpdf-3.02pl2.patch"
-
- # Construct a Gentoo site texmf directory
- # that overlays the upstream supplied
- epatch "${FILESDIR}/${P}-texmf-site.patch"
-
- # security bug #198238
- epatch "${WORKDIR}/${P}-dviljk-security-fixes.patch"
-
- # security bug #198238 and bug #193437
- epatch "${FILESDIR}/${P}-t1lib-SA26241_buffer_overflow.patch"
-
- cd "${S}/texk/dviljk"
- AT_M4DIR="${S}/texk/m4" eautoreconf
-}
-
-src_compile() {
- #bug 119856
- export LC_ALL=C
-
- # dvipng has its own ebuild (fix for bug #129044).
- # also, do not build against own lib gd (security #182055)
- TETEX_ECONF="${TETEX_ECONF} --without-dvipng --with-system-gd"
-
- tetex-3_src_compile
-}
-
-src_test() {
- fmtutil --fmtdir "${S}/texk/web2c" --all
- # The check target tries to access X display, bug #69439.
- Xmake check || die "Xmake check failed."
-}
-
-src_install() {
- insinto /usr/share/texmf/dvips/pstricks
- doins "${FILESDIR}/pst-circ.pro"
-
- # install pdftosrc man page, bug 94860
- doman "${S}/texk/web2c/pdftexdir/pdftosrc.1"
-
- tetex-3_src_install
-
- # Create Gentoo site texmf directory
- keepdir /usr/share/texmf-site
-}
-
-pkg_postinst() {
- tetex-3_pkg_postinst
-
- elog
- elog "This release removes dvipng since it is provided in app-text/dvipng"
- elog
-}