summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-07-26 13:30:18 +0000
committerhrs <hrs@FreeBSD.org>2004-07-26 13:30:18 +0000
commitf47fef216c5b7d672b3da050196616375b1a24da (patch)
tree7a06ebd75b46c3f72cff584dd305eab4905d5d26 /print
parent156fa255720a18f3bb78f1916241f2883e2e1758 (diff)
downloadFreeBSD-ports-f47fef216c5b7d672b3da050196616375b1a24da.zip
FreeBSD-ports-f47fef216c5b7d672b3da050196616375b1a24da.tar.gz
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)
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 8b07590..be9edc2 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 0000000..3f2acac
--- /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
OpenPOWER on IntegriCloud