aboutsummaryrefslogtreecommitdiffstats
path: root/print/teTeX-base
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-07-26 21:30:18 +0800
committerhrs <hrs@FreeBSD.org>2004-07-26 21:30:18 +0800
commitf47fef216c5b7d672b3da050196616375b1a24da (patch)
tree7a06ebd75b46c3f72cff584dd305eab4905d5d26 /print/teTeX-base
parent156fa255720a18f3bb78f1916241f2883e2e1758 (diff)
downloadfreebsd-ports-gnome-f47fef216c5b7d672b3da050196616375b1a24da.tar.gz
freebsd-ports-gnome-f47fef216c5b7d672b3da050196616375b1a24da.tar.zst
freebsd-ports-gnome-f47fef216c5b7d672b3da050196616375b1a24da.zip
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/teTeX-base')
-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