diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-06-22 11:44:58 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-06-22 11:44:58 +0000 |
commit | 58d3defa52676516ae0c42eeac4459140f8a59ba (patch) | |
tree | a01f72415f13743984d7d60d331f7857d36d4c12 | |
parent | version bumped (diff) | |
download | gentoo-2-58d3defa52676516ae0c42eeac4459140f8a59ba.tar.gz gentoo-2-58d3defa52676516ae0c42eeac4459140f8a59ba.tar.bz2 gentoo-2-58d3defa52676516ae0c42eeac4459140f8a59ba.zip |
Remove the sources older than 5 years warning that causes failure, by Duncan Exon Smith, bug #369883
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
-rw-r--r-- | dev-texlive/texlive-latex/ChangeLog | 8 | ||||
-rw-r--r-- | dev-texlive/texlive-latex/files/texlive-latex-2008-latex-oldwarning.patch | 41 | ||||
-rw-r--r-- | dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild | 5 |
3 files changed, 51 insertions, 3 deletions
diff --git a/dev-texlive/texlive-latex/ChangeLog b/dev-texlive/texlive-latex/ChangeLog index 7ea19f8f03c0..a5b17e8402bb 100644 --- a/dev-texlive/texlive-latex/ChangeLog +++ b/dev-texlive/texlive-latex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-texlive/texlive-latex # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-latex/ChangeLog,v 1.45 2011/01/23 09:37:00 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-latex/ChangeLog,v 1.46 2011/06/22 11:44:58 aballier Exp $ + + 22 Jun 2011; Alexis Ballier <aballier@gentoo.org> + texlive-latex-2008-r2.ebuild, + +files/texlive-latex-2008-latex-oldwarning.patch: + Remove the sources older than 5 years warning that causes failure, by Duncan + Exon Smith, bug #369883 23 Jan 2011; Fabian Groffen <grobian@gentoo.org> texlive-latex-2010.ebuild: Added Prefix keywords diff --git a/dev-texlive/texlive-latex/files/texlive-latex-2008-latex-oldwarning.patch b/dev-texlive/texlive-latex/files/texlive-latex-2008-latex-oldwarning.patch new file mode 100644 index 000000000000..274b66909b44 --- /dev/null +++ b/dev-texlive/texlive-latex/files/texlive-latex-2008-latex-oldwarning.patch @@ -0,0 +1,41 @@ +https://bugs.gentoo.org/show_bug.cgi?id=369883 + +Remove "5 years old sources" warning that causes failures when building +formats... + +by Duncan Exon Smith + + +--- texmf-dist/tex/latex/base/latex.ltx 2011-06-10 16:29:49.763911520 +0200 ++++ texmf-dist/tex/latex/base/latex.ltx 2011-06-10 16:30:13.854910835 +0200 +@@ -522,30 +522,6 @@ + %%% From File: ltvers.dtx + \def\fmtname{LaTeX2e} + \edef\fmtversion{2005/12/01} +-\iftrue +-\def\reserved@a#1/#2/#3\@nil{% +- \count@\year +- \advance\count@-#1\relax +- \multiply\count@ by 12\relax +- \advance\count@\month +- \advance\count@-#2\relax} +-\expandafter\reserved@a\fmtversion\@nil +-\ifnum\count@>65 +- \typeout{^^J% +-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +-! You are attempting to make a LaTeX format from a source file^^J% +-! That is more than five years old.^^J% +-!^^J% +-! If you enter <return> to scroll past this message then the format^^J% +-! will be built, but please consider obtaining newer source files^^J% +-! before continuing to build LaTeX.^^J% +-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +-} +- \errhelp{To avoid this error message, obtain new LaTeX sources.} +- \errmessage{LaTeX source files more than 5 years old!} +-\fi +-\let\reserved@a\relax +-\fi + \everyjob{\typeout{\fmtname + \space<\fmtversion>}} + \immediate\write16{\fmtname diff --git a/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild b/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild index 7d9e61945b5f..81b701f3faf2 100644 --- a/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild +++ b/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild,v 1.8 2010/01/15 10:22:36 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-texlive/texlive-latex/texlive-latex-2008-r2.ebuild,v 1.9 2011/06/22 11:44:58 aballier Exp $ TEXLIVE_MODULE_CONTENTS="ae amscls amsmath amsrefs babel babelbib carlisle colortbl fancyhdr geometry graphics hyperref latex latex-fonts latexconfig ltxmisc mfnfss natbib pdftex-def pslatex psnfss pspicture tools bin-latex luatex pdftex collection-latex " @@ -23,4 +23,5 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-luatex-0.40.patch" + epatch "${FILESDIR}/${P}-latex-oldwarning.patch" } |