[67935] trunk/dports/tex/pTeX
takanori at macports.org
takanori at macports.org
Sat May 22 03:26:25 PDT 2010
Revision: 67935
http://trac.macports.org/changeset/67935
Author: takanori at macports.org
Date: 2010-05-22 03:26:20 -0700 (Sat, 22 May 2010)
Log Message:
-----------
pTeX:
- Add a runtime dependency on t1utils - to improve compatibility with texlive. (#16006)
- Fixed some minor segfaults in ptex.
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=407
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=416
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=422
http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=431
- Misc fixes/improvements.
Modified Paths:
--------------
trunk/dports/tex/pTeX/Portfile
trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch
trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff
Added Paths:
-----------
trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum407.patch
trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum416.patch
trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum422.patch
trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum431.patch
trunk/dports/tex/pTeX/files/archive/xdvi-jisb.diff
Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile 2010-05-22 09:56:21 UTC (rev 67934)
+++ trunk/dports/tex/pTeX/Portfile 2010-05-22 10:26:20 UTC (rev 67935)
@@ -3,7 +3,7 @@
PortSystem 1.0
name pTeX
-version 20100330
+version 20100522
epoch ${version}
set ver_ptetex3 20080616
set ver_dvipdfmx 20100328
@@ -82,7 +82,8 @@
# bin:flex:flex
# port:gmake
# port:gpatch
-depends_run port:texi2html \
+depends_run port:t1utils \
+ port:texi2html \
port:texinfo
conflicts texlive texlive_base texlive_texmf-minimal texlive_texmf-full texlive_texmf-docs
@@ -164,8 +165,8 @@
test.run yes
destroot {
- system "(cd ${workpath}/temp; tar cf - bin include lib share) | (cd ${destroot}${prefix}; tar xf -)"
- system "(cd ${workpath}/temp; tar cf - info man) | (cd ${destroot}${prefix}/share; tar xf -)"
+ system "(cd ${workpath}/temp; tar -cf - bin include lib share) | (cd ${destroot}${prefix}; tar --no-same-owner -xf -)"
+ system "(cd ${workpath}/temp; tar -cf - info man) | (cd ${destroot}${prefix}/share; tar --no-same-owner -xf -)"
delete ${destroot}${prefix}/share/info/dir
copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
Modified: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch 2010-05-22 09:56:21 UTC (rev 67934)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum327.patch 2010-05-22 10:26:20 UTC (rev 67935)
@@ -1,6 +1,6 @@
---- ptex-base.ch.orig Tue Jul 18 17:03:33 2006
-+++ ptex-base.ch Sat Jun 27 10:08:58 2009
-@@ -3847,7 +3847,7 @@
+--- ptex-base.ch.orig 2010-05-22 14:23:16.000000000 +0900
++++ ptex-base.ch 2010-05-22 14:23:16.000000000 +0900
+@@ -3803,7 +3803,7 @@
var a:integer; {address of lig/kern instruction}
@!gp,@!gq,@!p,@!r:pointer; {temporary registers for list manipulation}
@!rr:halfword;
@@ -9,7 +9,7 @@
if (math_type(subscr(q))=empty)and(math_type(supscr(q))=empty)and@|
((math_type(nucleus(q))=math_char)or(math_type(nucleus(q))=math_jchar)) then
begin p:=link(q);
-@@ -3887,7 +3887,7 @@
+@@ -3843,7 +3843,7 @@
if op_byte(cur_i)<kern_flag then
begin gp:=font_glue[cur_f]; rr:=rem_byte(cur_i);
if gp<>null then begin
@@ -18,7 +18,7 @@
end;
gq:=glue_ptr(gp);
end
-@@ -3895,7 +3895,7 @@
+@@ -3851,7 +3851,7 @@
font_glue[cur_f]:=gp; gq:=null;
end;
if gq=null then
@@ -27,7 +27,7 @@
a:=exten_base[cur_f]+qi((qo(rr))*3); width(gq):=font_info[a].sc;
stretch(gq):=font_info[a+1].sc; shrink(gq):=font_info[a+2].sc;
add_glue_ref(gq); link(gp):=get_node(small_node_size);
-@@ -5757,7 +5757,8 @@
+@@ -5713,7 +5713,8 @@
space_factor:=1000; unsave;
end
@y
@@ -37,4 +37,3 @@
@<Append |disp_node| at begin of displace area@>;
tail_append(new_math(math_surround,before));
cur_mlist:=p; cur_style:=text_style; mlist_penalties:=(mode>0); mlist_to_hlist;
-
Added: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum407.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum407.patch (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum407.patch 2010-05-22 10:26:20 UTC (rev 67935)
@@ -0,0 +1,60 @@
+*** ptex-base.ch.orig 2010-05-22 14:53:20.000000000 +0900
+--- ptex-base.ch 2010-05-22 14:54:53.000000000 +0900
+***************
+*** 4487,4494 ****
+ ("\box register that now have a different direction.")@/
+ ("Proceed, and I'll discard its present contents.");
+ box_error(n)
+! end;
+! height(r):=height(box(n))+depth(box(n));
+ end;
+ @z
+
+--- 4487,4495 ----
+ ("\box register that now have a different direction.")@/
+ ("Proceed, and I'll discard its present contents.");
+ box_error(n)
+! end
+! else
+! height(r):=height(box(n))+depth(box(n));
+ end;
+ @z
+
+***************
+*** 5397,5404 ****
+ begin KANJI(cx):=cur_val;
+ if direction=dir_tate then f:=cur_tfont else f:=cur_jfont;
+ p:=new_character(f,get_jfm_pos(KANJI(cx),f));
+! {DEBUG if p<>null then ...}
+! link(p):=get_avail; info(link(p)):=KANJI(cx);
+ end
+ else begin f:=cur_font; p:=new_character(f,cur_val);
+ end;
+--- 5398,5407 ----
+ begin KANJI(cx):=cur_val;
+ if direction=dir_tate then f:=cur_tfont else f:=cur_jfont;
+ p:=new_character(f,get_jfm_pos(KANJI(cx),f));
+! if p<>null then
+! begin
+! link(p):=get_avail; info(link(p)):=KANJI(cx);
+! end;
+ end
+ else begin f:=cur_font; p:=new_character(f,cur_val);
+ end;
+***************
+*** 7545,7551 ****
+ {@<Append |disp_node| at begin of displace area@>;}
+ ins_kp:=false; goto main_loop;
+ end else begin { Kanji -> cs }
+! {@<Append |disp_node| at begin of displace area@>;}
+ goto reswitch;
+ end;
+
+--- 7548,7554 ----
+ {@<Append |disp_node| at begin of displace area@>;}
+ ins_kp:=false; goto main_loop;
+ end else begin { Kanji -> cs }
+! @<Append |disp_node| at begin of displace area@>;
+ goto reswitch;
+ end;
+
Added: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum416.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum416.patch (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum416.patch 2010-05-22 10:26:20 UTC (rev 67935)
@@ -0,0 +1,186 @@
+*** ptex-base.ch.orig 2010-05-22 14:55:55.000000000 +0900
+--- ptex-base.ch 2010-05-22 14:56:08.000000000 +0900
+***************
+*** 4965,4971 ****
+ repeat p:=q;
+ if not is_char_node(q) then
+ if type(q)=disc_node then
+! begin for m:=1 to replace_count(q) do p:=link(p);
+ if p=tail then goto done;
+ end
+ else if type(q)=disp_node then
+--- 4965,4974 ----
+ repeat p:=q;
+ if not is_char_node(q) then
+ if type(q)=disc_node then
+! begin for m:=1 to replace_count(q) do begin
+! if is_char_node(p) then
+! if font_dir[font(p)]<>dir_default then p:=link(p);
+! p:=link(p); end;
+ if p=tail then goto done;
+ end
+ else if type(q)=disp_node then
+***************
+*** 5183,5188 ****
+--- 5186,5192 ----
+ @!d:pointer; {last |disp_node|}
+ @!disp,@!pdisp:scaled; {displacement}
+ @!pp,pnode:pointer;
++ @!f:boolean; {whether remove disp node d }
+ @z
+
+ @x [47.1105] l.21937 - pTeX: delete_last: disp_node
+***************
+*** 5202,5208 ****
+ @y
+ else begin
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+! begin d:=tail; tail:=prev_node; link(tail):=null;
+ end
+ else d:=null;
+ if not is_char_node(tail) then if type(tail)=cur_chr then
+--- 5206,5212 ----
+ @y
+ else begin
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+! begin f:=true; d:=tail; tail:=prev_node; link(tail):=null;
+ end
+ else d:=null;
+ if not is_char_node(tail) then if type(tail)=cur_chr then
+***************
+*** 5210,5220 ****
+ repeat p:=q;
+ if not is_char_node(q) then
+ if type(q)=disc_node then
+! begin for m:=1 to replace_count(q) do p:=link(p);
+ if p=tail then
+ begin if d<>null then tail_append(d);
+ return;
+ end
+ end
+ else if type(q)=disp_node then
+ begin pnode:=pp; pdisp:=disp; disp:=disp_dimen(q);
+--- 5214,5228 ----
+ repeat p:=q;
+ if not is_char_node(q) then
+ if type(q)=disc_node then
+! begin for m:=1 to replace_count(q) do begin
+! if is_char_node(p) then
+! if font_dir[font(p)]<>dir_default then p:=link(p);
+! p:=link(p); end;
+ if p=tail then
+ begin if d<>null then tail_append(d);
+ return;
+ end
++ else if link(p)=tail then f:=false;
+ end
+ else if type(q)=disp_node then
+ begin pnode:=pp; pdisp:=disp; disp:=disp_dimen(q);
+***************
+*** 5227,5235 ****
+ if d<>null then
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin if prev_disp=disp_dimen(d) then
+! free_node(tail,small_node_size)
+ else disp_dimen(tail):=disp_dimen(d);
+! free_node(d,small_node_size)
+ end
+ else
+ begin prev_node:=tail; prev_disp:=disp; tail_append(d)
+--- 5235,5244 ----
+ if d<>null then
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin if prev_disp=disp_dimen(d) then
+! {|free_node(tail,small_node_size)|}
+ else disp_dimen(tail):=disp_dimen(d);
+! if f then free_node(d,small_node_size)
+! else begin prev_node:=tail; prev_disp:=disp; tail_append(d) end
+ end
+ else
+ begin prev_node:=tail; prev_disp:=disp; tail_append(d)
+***************
+*** 5358,5363 ****
+--- 5367,5381 ----
+ end;
+ @z
+
++ @x [47.1121] pTeX: discretionary with 2byte-char
++ if n>0 then tail:=q;
++ @y
++ if n>0 then begin tail:=q;
++ if is_char_node(q) then
++ if font_dir[font(q)]<>dir_default then tail:=link(tail);
++ end;
++ @z
++
+ @x [47.1120] l.22119 - pTeX: discretionary with disp_node
+ decr(save_ptr); return;
+ @y
+***************
+*** 5382,5387 ****
+--- 5400,5414 ----
+ begin print_err("Improper discretionary list");
+ @z
+
++
++ @x [47.1121] pTeX: discretionary with 2byte-char
++ q:=p; p:=link(q); incr(n);
++ @y
++ q:=p; p:=link(q); incr(n);
++ if is_char_node(q) then
++ if font_dir[font(q)]<>dir_default then p:=link(p);
++ @z
++
+ @x [47.1123] l.22160 - pTeX: make_accent, Kanji, insert disp_node
+ var s,@!t: real; {amount of slant}
+ @y
+***************
+*** 7200,7205 ****
+--- 7227,7241 ----
+ mark_node,adjust_node,ins_node,whatsit_node:
+ {These nodes are vanished when typeset is done}
+ do_nothing;
++ disc_node: begin insert_skip:=no_skip; i:=replace_count(p);
++ for i:=i downto 1 do begin
++ if is_char_node(p) then
++ if font_dir[font(p)]<>dir_default then begin
++ insert_skip:=after_wchar; p:=link(p); end
++ else insert_skip:=after_schar
++ else insert_skip:=no_skip;
++ p:=link(p); end;
++ end;
+ othercases insert_skip:=no_skip;
+ endcases;
+ q:=p; p:=link(p);
+***************
+*** 7390,7395 ****
+--- 7426,7437 ----
+ penalty_node,mark_node,adjust_node,whatsit_node,
+ glue_node,kern_node,math_node,disp_node:
+ do_nothing;
++ disc_node: begin i:=replace_count(p);
++ for i:=i downto 1 do begin
++ if is_char_node(p) then
++ if font_dir[font(p)]<>dir_default then p:=link(p);
++ p:=link(p); end;
++ q:=p; s:=null; end;
+ othercases begin q:=p; s:=null; end;
+ endcases;
+ end;
+***************
+*** 7548,7554 ****
+ {@<Append |disp_node| at begin of displace area@>;}
+ ins_kp:=false; goto main_loop;
+ end else begin { Kanji -> cs }
+! @<Append |disp_node| at begin of displace area@>;
+ goto reswitch;
+ end;
+
+--- 7590,7596 ----
+ {@<Append |disp_node| at begin of displace area@>;}
+ ins_kp:=false; goto main_loop;
+ end else begin { Kanji -> cs }
+! { <Append |disp_node| at begin of displace area>;}
+ goto reswitch;
+ end;
+
Added: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum422.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum422.patch (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum422.patch 2010-05-22 10:26:20 UTC (rev 67935)
@@ -0,0 +1,36 @@
+*** ptex-base.ch.orig 2010-05-22 14:56:08.000000000 +0900
+--- ptex-base.ch 2010-05-22 14:56:41.000000000 +0900
+***************
+*** 3524,3529 ****
+--- 3524,3537 ----
+ new_noad:=p;
+ @z
+
++ @x [34.687] accent with japanese char
++ @d accent_noad_size=5 {number of |mem| words in an accent noad}
++ @d accent_chr(#)==#+4 {the |accent_chr| field of an accent noad}
++ @y
++ @d accent_noad_size=6 {number of |mem| words in an accent noad}
++ @d accent_chr(#)==#+5 {the |accent_chr| field of an accent noad}
++ @z
++
+ @x [34.691] l.14236 - pTeX: print_fam_and_char
+ procedure print_fam_and_char(@!p:pointer); {prints family and character}
+ begin print_esc("fam"); print_int(fam(p)); print_char(" ");
+***************
+*** 5623,5629 ****
+ p:=nucleus(info(p)); q:=kcode_noad_nucleus(p);
+ end;
+ math_type(p):=math_jchar; fam(p):=cur_jfam; character(p):=qi(0);
+! info(q):=KANJI(cx);
+ if font_dir[fam_fnt(fam(p)+cur_size)]=dir_default then
+ begin print_err("Not two-byte family");
+ help1("IGNORE.");@/
+--- 5631,5637 ----
+ p:=nucleus(info(p)); q:=kcode_noad_nucleus(p);
+ end;
+ math_type(p):=math_jchar; fam(p):=cur_jfam; character(p):=qi(0);
+! math_kcode(p-1):=KANJI(cx);
+ if font_dir[fam_fnt(fam(p)+cur_size)]=dir_default then
+ begin print_err("Not two-byte family");
+ help1("IGNORE.");@/
Added: trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum431.patch
===================================================================
--- trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum431.patch (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/ptex-src-3.1.10-forum431.patch 2010-05-22 10:26:20 UTC (rev 67935)
@@ -0,0 +1,60 @@
+*** ptex-base.ch.orig 2010-05-22 14:56:41.000000000 +0900
+--- ptex-base.ch 2010-05-22 14:57:17.000000000 +0900
+***************
+*** 4926,4931 ****
+--- 4926,4932 ----
+ @!d:pointer; {last |disp_node|}
+ @!disp,@!pdisp:scaled; {displacement}
+ @!pp,pnode:pointer;
++ @!f:boolean; {will |d| free?}
+ @z
+
+ @x [47.1080] l.21636 - pTeX: disp_node, check head=tail
+***************
+*** 4934,4940 ****
+ @<Remove the last box, unless it's part of a discretionary@>;
+ end;
+ @y
+! else begin
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin d:=tail; tail:=prev_node;
+ end
+--- 4935,4941 ----
+ @<Remove the last box, unless it's part of a discretionary@>;
+ end;
+ @y
+! else begin f:=false;
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin d:=tail; tail:=prev_node;
+ end
+***************
+*** 4942,4954 ****
+ if (not is_char_node(tail))and(head<>tail) then
+ if (type(tail)=hlist_node)or(type(tail)=vlist_node)
+ or(type(tail)=dir_node) then
+! @<Remove the last box, unless it's part of a discretionary@>;
+ if d<>null then
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin prev_node:=pnode; prev_disp:=pdisp;
+! if prev_disp=disp_dimen(d) then free_node(tail,small_node_size)
+ else disp_dimen(tail):=disp_dimen(d);
+! free_node(d,small_node_size);
+ end
+ else tail_append(d);
+ end;
+--- 4943,4957 ----
+ if (not is_char_node(tail))and(head<>tail) then
+ if (type(tail)=hlist_node)or(type(tail)=vlist_node)
+ or(type(tail)=dir_node) then
+! begin f:=true;
+! @<Remove the last box, unless it's part of a discretionary@>; end;
+ if d<>null then
+ if (not is_char_node(tail))and(type(tail)=disp_node) then
+ begin prev_node:=pnode; prev_disp:=pdisp;
+! if prev_disp=disp_dimen(d) then {|free_node(tail,small_node_size)|}
+ else disp_dimen(tail):=disp_dimen(d);
+! if f then free_node(d,small_node_size)
+! else begin prev_node:=tail; tail_append(d); end;
+ end
+ else tail_append(d);
+ end;
Added: trunk/dports/tex/pTeX/files/archive/xdvi-jisb.diff
===================================================================
--- trunk/dports/tex/pTeX/files/archive/xdvi-jisb.diff (rev 0)
+++ trunk/dports/tex/pTeX/files/archive/xdvi-jisb.diff 2010-05-22 10:26:20 UTC (rev 67935)
@@ -0,0 +1,54 @@
+--- tetex-src-3.0/texk/xdvik/xdvi.c.orig 2010-03-31 09:13:16.000000000 +0900
++++ tetex-src-3.0/texk/xdvik/xdvi.c 2010-03-31 09:41:39.000000000 +0900
+@@ -1002,6 +1002,34 @@
+ "b10r","44x31mm",
+ "", "0",
+
++ /* JIS `B' formats, Portrait */
++ "jisb0", "1030x1456mm",
++ "jisb1", "728x1030mm",
++ "jisb2", "515x728mm",
++ "jisb3", "364x515mm",
++ "jisb4", "257x364mm",
++ "jisb5", "182x257mm",
++ "jisb6", "128x182mm",
++ "jisb7", "91x128mm",
++ "jisb8", "64x91mm",
++ "jisb9", "45x64mm",
++ "jisb10","32x45mm",
++ "", "0",
++
++ /* JIS `B' formats, Landscape */
++ "jisb0r", "1456x1030mm",
++ "jisb1r", "1030x728mm",
++ "jisb2r", "728x515mm",
++ "jisb3r", "515x364mm",
++ "jisb4r", "364x257mm",
++ "jisb5r", "257x182mm",
++ "jisb6r", "182x128mm",
++ "jisb7r", "128x91mm",
++ "jisb8r", "91x64mm",
++ "jisb9r", "64x45mm",
++ "jisb10r","45x32mm",
++ "", "0",
++
+ /* ISO `C' formats, Portrait */
+ "c0", "917x1297mm",
+ "c1", "648x917mm",
+--- tetex-src-3.0/texk/xdvik/gui/xm_prefs_page.c.orig 2010-03-31 09:13:16.000000000 +0900
++++ tetex-src-3.0/texk/xdvik/gui/xm_prefs_page.c 2010-03-31 09:48:28.000000000 +0900
+@@ -95,9 +95,14 @@
+ { "A3", "a3", "297x420mm", "420x297mm" },
+ { "A4", "a4", "210x297mm", "297x210mm" },
+ { "A5", "a5", "148x210mm", "210x148mm" },
++ { "B4", "b4", "250x353mm", "353x250mm" },
+ { "B5", "b5", "176x250mm", "250x176mm" },
+ { "B6", "b6", "125x176mm", "176x125mm" },
+ { "B7", "b7", "88x125mm", "125x88mm" },
++ { "JIS B4", "jisb4", "257x364mm", "364x257mm" },
++ { "JIS B5", "jisb5", "182x257mm", "257x182mm" },
++ { "JIS B6", "jisb6", "128x182mm", "182x128mm" },
++ { "JIS B7", "jisb7", "91x128mm", "128x91mm" },
+ { NULL, NULL, NULL, NULL } /* terminate */
+ };
+
Modified: trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff 2010-05-22 09:56:21 UTC (rev 67934)
+++ trunk/dports/tex/pTeX/files/patch-2extract-src.sh.diff 2010-05-22 10:26:20 UTC (rev 67935)
@@ -20,11 +20,15 @@
# add --nostop option: don't stop even if a map file is not found
cpatch archive/updmap-nostop.patch 0 $SRC/texk/tetex
# ebb patch (+ArtBox)
-@@ -99,6 +93,7 @@
+@@ -99,6 +93,11 @@
tarx archive/ptex-src-3.1.10.tar.gz $SRC/texk/web2c
mv $SRC/texk/web2c/ptex-src-* $SRC/texk/web2c/ptex || exit
cpatch $PTEXENC/ptex-src-3.1.10-ptexenc.patch 1 $SRC/texk/web2c/ptex
+cpatch archive/ptex-src-3.1.10-forum327.patch 0 $SRC/texk/web2c/ptex
++cpatch archive/ptex-src-3.1.10-forum407.patch 0 $SRC/texk/web2c/ptex
++cpatch archive/ptex-src-3.1.10-forum416.patch 0 $SRC/texk/web2c/ptex
++cpatch archive/ptex-src-3.1.10-forum422.patch 0 $SRC/texk/web2c/ptex
++cpatch archive/ptex-src-3.1.10-forum431.patch 0 $SRC/texk/web2c/ptex
# comment out TEXINPUTS.platex (not to be erased by mkconf)
perlprint 's/^(TEXINPUTS.platex)/% \1/g' $SRC/texk/kpathsea/texmf.in
# rewrite 'platex2e_inputs' macro
@@ -67,7 +71,7 @@
#exit # uncomment if 'mktemp' command doesn't exist
# Don't use PID for temporary file names in scripts. (impoted from FC4)
cpatch security/tetex-3.0-badscript.patch 1 $SRC
-@@ -263,7 +258,12 @@
+@@ -263,7 +258,13 @@
## check
@@ -75,6 +79,7 @@
+if cat md5sum/texsrc.$JAPANESE | (cd $SRC; md5check); then
+ cpatch archive/dvipng-tiger-#18254.diff 1 $SRC
+ cpatch archive/xdvik-tiger-#18254.diff 1 $SRC
++ cpatch archive/xdvi-jisb.diff 1 $SRC
+ cpatch archive/dvipdfm-png14.diff 1 $SRC
+ exit
+fi
Modified: trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff
===================================================================
--- trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff 2010-05-22 09:56:21 UTC (rev 67934)
+++ trunk/dports/tex/pTeX/files/patch-md5sum_texsrc.traditional.diff 2010-05-22 10:26:20 UTC (rev 67935)
@@ -85,7 +85,7 @@
e94844efdc6621352d2edc5bd43a3463 ./texk/web2c/ptex/pdvitype.ch
d10b99da547b186872b27486bddc5b3f ./texk/web2c/ptex/pltotf.ch
-ed3a607a2f6ba2f7dd090a101b3e1a94 ./texk/web2c/ptex/ptex-base.ch
-+e0cad70ed49648eadfbedc86c4e9768b ./texk/web2c/ptex/ptex-base.ch
++612fb7cc9b6908052493dbef2486ba29 ./texk/web2c/ptex/ptex-base.ch
934d273b67c7b66ecc189622e37dfd51 ./texk/web2c/ptex/ptexextra.c
48f171abad15ab1ef90346f3ad767045 ./texk/web2c/ptex/ptexextra.h
26e0bef478ed32ea9bc178a82f868a3a ./texk/web2c/ptex/ptexhelp.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100522/4408e187/attachment-0001.html>
More information about the macports-changes
mailing list