From owner-freebsd-ports Sun Jul 23 13:40: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F03137B90D for ; Sun, 23 Jul 2000 13:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA57172; Sun, 23 Jul 2000 13:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from c203063.ppp.asahi-net.or.jp (c203063.ppp.asahi-net.or.jp [210.155.203.63]) by hub.freebsd.org (Postfix) with ESMTP id 6C6B337B7DC for ; Sun, 23 Jul 2000 13:30:07 -0700 (PDT) (envelope-from ixtl@c203063.ppp.asahi-net.or.jp) Received: (from ixtl@localhost) by c203063.ppp.asahi-net.or.jp (8.9.3/8.9.3) id FAA02984; Mon, 24 Jul 2000 05:29:02 +0900 (JST) (envelope-from ixtl) Message-Id: <200007232029.FAA02984@c203063.ppp.asahi-net.or.jp> Date: Mon, 24 Jul 2000 05:29:02 +0900 (JST) From: ixtl@utmc.or.jp Reply-To: ixtl@utmc.or.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/20129: patch to use japanese/latex2html with perl-5.6.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20129 >Category: ports >Synopsis: patch to use japanese/latex2html with perl-5.6.0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 23 13:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Sugimoto Sadahiro >Release: FreeBSD 3.3-RELEASE i386 >Organization: University of Tokyo >Environment: FreeBSD babel 3.3-RELEASE FreeBSD 3.3-RELEASE #9: Fri Jun 2 18:50:08 JST 2000 ixtl@babel:/usr/src/sys/compile/BABEL i386 >Description: This is a patch to use japanese/latex2html with perl-5.6.0 . >How-To-Repeat: >Fix: diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-ba latex2html-current/patches/patch-ba --- /usr/ports/japanese/latex2html/patches/patch-ba Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-ba Tue Jul 18 20:18:04 2000 @@ -0,0 +1,38 @@ +--- latex2html.orig Tue Jul 18 09:41:56 2000 ++++ latex2html Tue Jul 18 09:46:11 2000 +@@ -2780,7 +2780,7 @@ + if (defined &$trans) { + &set_default_language($pattern,*_); + } +- undef($cmd,$trans); ++ undef $cmd; undef $trans; + } + next; + } elsif ($4) { +@@ -3085,7 +3085,7 @@ + # Modifies $contents + &process_command($single_cmd_rx,*contents) if ($contents =~ /\\/o); + } +- undef ($cmd,$tmp,$etmp); ++ undef $cmd; undef $tmp; undef $etmp; + } else { + $contents = &translate_environments($contents); + $contents = &translate_commands($contents) +@@ -8916,7 +8916,7 @@ + }; + } + return(1) if ($this_dir eq '.'); +- rmdir($this_dir,$print_dir) if $mode; ++ if ($mode) { rmdir $this_dir; rmdir $print_dir } + if (!$mode) { &new_dir($this_dir,'r')}; + return(1); + } elsif ($answer =~ /^q$/) { +@@ -11326,7 +11326,7 @@ + &extract_captions($cap_env) if ($_ =~ /\\caption/m); + $minipage_caption = $captions; + $_ = $contents; +- undef($contents, $captions); ++ undef $contentscw; undef $captions; + }; + } + diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bb latex2html-current/patches/patch-bb --- /usr/ports/japanese/latex2html/patches/patch-bb Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bb Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html3_1.pl Tue Mar 30 20:29:04 1999 ++++ versions/html3_1.pl.new Tue Jul 18 09:27:13 2000 +@@ -1731,7 +1731,7 @@ + ($this, $_) = &$ctmp($_); + $this = &parse_math_toks($mode,$style,$face,$slevel,1,$this); + @open_tags = @save_open_tags; +- undef ($color_env, $inside_math, @save_open_tags); ++ undef $color_env; undef $inside_math; undef @save_open_tags; + }; + } elsif ($cmd eq 'left') { + #expandable delimiter: make an image diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bc latex2html-current/patches/patch-bc --- /usr/ports/japanese/latex2html/patches/patch-bc Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bc Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html3_2.pl Wed Dec 2 19:43:50 1998 ++++ versions/html3_2.pl.new Tue Jul 18 09:24:27 2000 +@@ -801,7 +801,7 @@ + local($tmp) = ++$global{'max_id'}; + "\\begin$OP$tmp${CP}math$OP$tmp$CP$1\\end$OP$tmp${CP}math$OP$tmp$CP" + /eg; +- undef ($cmd,$tmp,$endspec); undef @cmds; ++ undef $cmd; undef $tmp; undef $endspec; undef @cmds; + + local($tmp) = ++$global{'max_id'}; + if(@save_open_tags_tabular) { diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bd latex2html-current/patches/patch-bd --- /usr/ports/japanese/latex2html/patches/patch-bd Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bd Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html4_0.pl Wed Dec 2 19:43:52 1998 ++++ versions/html4_0.pl.new Tue Jul 18 09:25:00 2000 +@@ -1138,7 +1138,7 @@ + local($tmp) = ++$global{'max_id'}; + "\\begin$OP$tmp${CP}math$OP$tmp$CP$1\\end$OP$tmp${CP}math$OP$tmp$CP" + /eg; +- undef ($cmd,$tmp,$endspec); undef @cmds; ++ undef $cmd; undef $tmp; undef $endspec; undef @cmds; + + local($tmp) = ++$global{'max_id'}; + if(@save_open_tags_tabular) { diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-be latex2html-current/patches/patch-be --- /usr/ports/japanese/latex2html/patches/patch-be Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-be Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/math.pl Tue Jul 18 09:25:39 2000 ++++ versions/math.pl.new Tue Jul 18 09:26:05 2000 +@@ -1731,7 +1731,7 @@ + ($this, $_) = &$ctmp($_); + $this = &parse_math_toks($mode,$style,$face,$slevel,1,$this); + @open_tags = @save_open_tags; +- undef ($color_env, $inside_math, @save_open_tags); ++ undef $color_env; undef $inside_math; undef @save_open_tags; + }; + } elsif ($cmd eq 'left') { + #expandable delimiter: make an image diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/pkg/PLIST latex2html-current/pkg/PLIST --- /usr/ports/japanese/latex2html/pkg/PLIST Tue Jul 4 23:50:55 2000 +++ latex2html-current/pkg/PLIST Tue Jul 18 20:42:27 2000 @@ -396,8 +396,11 @@ share/latex2html/versions/html2_2.pl share/latex2html/versions/html3_0.pl share/latex2html/versions/html3_1.pl +share/latex2html/versions/html3_1.pl.orig share/latex2html/versions/html3_2.pl +share/latex2html/versions/html3_2.pl.orig share/latex2html/versions/html4_0.pl +share/latex2html/versions/html4_0.pl.orig share/latex2html/versions/i18n.pl share/latex2html/versions/lang.pl share/latex2html/versions/latin1.pl @@ -407,6 +410,7 @@ share/latex2html/versions/latin5.pl share/latex2html/versions/latin6.pl share/latex2html/versions/math.pl +share/latex2html/versions/math.pl.orig share/latex2html/versions/table.pl share/latex2html/versions/unicode.pl share/texmf/tex/latex/latex2html/floatflt.ins >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message