Subject: pkg/13984: cannot install texfamily
To: None <gnats-bugs@gnats.netbsd.org>
From: None <igy@arhc.org>
List: netbsd-bugs
Date: 09/16/2001 22:41:57
>Number:         13984
>Category:       pkg
>Synopsis:       cannot install texfamily
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 16 22:43:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Naoto Shimazaki
>Release:        current
>Organization:
PRUG
>Environment:
NetBSD caolila 1.5X NetBSD 1.5X (CAOLILA) #1: Thu Sep 13 14:31:45 JST 2001     root@caolila:/net/src/sys/arch/i386/compile/CAOLILA i386

>Description:
Because latex has logical timer bomb, latex cannot compile normally.
The work around is to run latex.ltx under \scrollmode.  teTeX already dose but texfamily dosen't.
So, texfamily cannot validly compiled.
>How-To-Repeat:
cd pkgsrc/japanese/texfamily
make install
>Fix:
insert \scrollmode into latex.ltx itself.
Here is the patch file.  (NOTE: patch against teTeX-share)

diff -uNr teTeX-share/Makefile teTeX-share.new/Makefile
--- teTeX-share/Makefile        Sun Feb 25 13:18:11 2001
+++ teTeX-share.new/Makefile    Mon Sep 17 13:52:06 2001
@@ -30,5 +30,8 @@
                -C ${PREFIX}/share/texmf \
                -X ${FILESDIR}/exclude \
                -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+       cp ${PREFIX}/share/texmf/tex/latex/base/latex.ltx ${WRKDIR}
+       patch ${WRKDIR}/latex.ltx ${FILESDIR}/latex.ltx.diff
+       mv ${WRKDIR}/latex.ltx ${PREFIX}/share/texmf/tex/latex/base/
 
 .include "../../mk/bsd.pkg.mk"
diff -uNr teTeX-share/files/latex.ltx.diff teTeX-share.new/files/latex.ltx.diff
--- teTeX-share/files/latex.ltx.diff    Thu Jan  1 09:00:00 1970
+++ teTeX-share.new/files/latex.ltx.diff        Mon Sep 17 13:30:04 2001
@@ -0,0 +1,10 @@
+--- latex.ltx.orig     Fri Sep 14 21:39:30 2001
++++ latex.ltx  Fri Sep 14 21:39:16 2001
+@@ -72,6 +72,7 @@
+   \errmessage
+   {LaTeX must be made using an initex with no format preloaded}
+ \fi
++\scrollmode
+ \catcode`\{=1
+ \catcode`\}=2
+ \catcode`\#=6

>Release-Note:
>Audit-Trail:
>Unformatted: