summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-07-26 13:30:18 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-07-26 13:30:18 +0000
commite6f28c081b027945d9890b48b2bb1dfa0ac9c9a4 (patch)
treee599be5eb42beed15555e8fd829b839ae527fcf6 /print
parentUpgrade to version 1.0.48. (diff)
Add a patch to fix a bug which prevents etex(1) from working. Without
this patch, the following code fragment causes a segmentation fault. \toksdef\whatevertoks = 266 \toksdef\extratoks = 267 \whatevertoks={junk} \everypar{\extratoks=\whatevertoks} \immediate\write16{t={\the\toks265}} some paragraph\par \bye Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=114773
Diffstat (limited to 'print')
-rw-r--r--print/teTeX-base/Makefile2
-rw-r--r--print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix23
2 files changed, 24 insertions, 1 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile
index 8b075903c639..be9edc2c6bdc 100644
--- a/print/teTeX-base/Makefile
+++ b/print/teTeX-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= teTeX-base
PORTVERSION= 2.0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/2.0/distrib/ \
${MASTER_SITE_TEX_CTAN}
diff --git a/print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix b/print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix
new file mode 100644
index 000000000000..3f2acac04a9a
--- /dev/null
+++ b/print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix
@@ -0,0 +1,23 @@
+--- texk/web2c/etexdir/etex.fix.orig Thu Jul 22 12:56:18 2004
++++ texk/web2c/etexdir/etex.fix Thu Jul 22 12:56:53 2004
+@@ -1,7 +1,19 @@
+ % Bugfixes for etex.ch version 2.1
+ % Public Domain.
+
+-@x l.5503
++@x l.1163 - |int_val| is a level, not a value.
++ begin cur_val:=int_val;
++@y
++ begin cur_val_level:=int_val;
++@z
++
++@x l.2737 - typo
++ else q:=sa_ptr(cur_ptr)
++@y
++ else q:=sa_ptr(cur_chr)
++@z
++
++@x l.5503 - comparison with 0 instead of |null|.
+ if cur_ptr<>0 then
+ @y
+ if cur_ptr<>null then