[52131] trunk/dports/tex/pTeX

takanori at macports.org takanori at macports.org
Wed Jun 10 14:10:05 PDT 2009


Revision: 52131
          http://trac.macports.org/changeset/52131
Author:   takanori at macports.org
Date:     2009-06-10 14:10:04 -0700 (Wed, 10 Jun 2009)
Log Message:
-----------
pTeX: Removed a time bomb from latex.ltx.

LaTeX has a time bomb that breaks itself if it is older than 65 months.
pTeX is still using LaTeX <2003/12/01> so this is fatal.

See also:
* http://tutimura.ath.cx/ptetex/?%C6%B0%BA%EE%CA%F3%B9%F0%2F132
* http://tutimura.ath.cx/ptetex/?%C6%B0%BA%EE%CA%F3%B9%F0%2F133

Modified Paths:
--------------
    trunk/dports/tex/pTeX/Portfile
    trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff

Added Paths:
-----------
    trunk/dports/tex/pTeX/files/archive/latex-timebomb.diff

Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile	2009-06-10 21:02:18 UTC (rev 52130)
+++ trunk/dports/tex/pTeX/Portfile	2009-06-10 21:10:04 UTC (rev 52131)
@@ -4,6 +4,7 @@
 
 name            pTeX
 version         20090510
+revision        1
 epoch           ${version}
 set ver_ptetex3     20080616
 set ver_dvipdfmx    20090506

Added: trunk/dports/tex/pTeX/files/archive/latex-timebomb.diff
===================================================================
--- trunk/dports/tex/pTeX/files/archive/latex-timebomb.diff	                        (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/latex-timebomb.diff	2009-06-10 21:10:04 UTC (rev 52131)
@@ -0,0 +1,22 @@
+--- tex/latex/base/latex.ltx.orig	2004-03-14 11:19:52.000000000 +0900
++++ tex/latex/base/latex.ltx	2009-06-11 05:21:27.000000000 +0900
+@@ -527,17 +527,9 @@
+ \expandafter\reserved at 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%
++   You are attempting to make a LaTeX format from a source file^^J%
++   That is more than five years old.^^J%
+ }
+-   \errhelp{To avoid this error message, obtain new LaTeX sources.}
+-   \errmessage{LaTeX source files more than 5 years old!}
+ \fi
+ \let\reserved at a\relax
+ \fi

Modified: trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff	2009-06-10 21:02:18 UTC (rev 52130)
+++ trunk/dports/tex/pTeX/files/patch-3extract-texmf.sh.diff	2009-06-10 21:10:04 UTC (rev 52131)
@@ -1,6 +1,13 @@
---- ./3extract-texmf.sh.orig	2009-05-10 21:58:21.000000000 +0900
-+++ ./3extract-texmf.sh	2009-05-10 21:57:12.000000000 +0900
-@@ -23,9 +23,9 @@
+--- ./3extract-texmf.sh.orig	2008-06-16 14:43:35.000000000 +0900
++++ ./3extract-texmf.sh	2009-06-11 03:57:51.000000000 +0900
+@@ -18,14 +18,16 @@
+     chmod -x $TEXMF-dist/scripts/*/*.pl || exit
+ fi
+ 
++cpatch archive/latex-timebomb.diff 0 $TEXMF-dist
++
+ # update config.ps with TeX Live 2007 svn (10/25)
+ $MKDIR $TEXMF/dvips/config
  $CP archive/config.ps $TEXMF/dvips/config/config.ps
  
  ## for dvips (pstricks)
@@ -12,7 +19,7 @@
  
  
  if test "$JAPANESE" != "without"; then
-@@ -157,6 +157,56 @@
+@@ -157,6 +159,56 @@
  distcp $TEXMF tex/latex/marvosym marvosym.sty
  cpatch archive/tetex-3.0-marvosym-rightarrow.patch 2 $TEXMF
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090610/9a6661f6/attachment.html>


More information about the macports-changes mailing list