mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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)
This commit is contained in:
parent
5cfa9b3f05
commit
e6f28c081b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114773
2 changed files with 24 additions and 1 deletions
|
@ -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}
|
||||
|
|
23
print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix
Normal file
23
print/teTeX-base/files/patch-texk::web2c::etexdir::etex.fix
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue