1 | Index: files/patch-lib-rexml-formatters-pretty.rb.diff |
---|
2 | =================================================================== |
---|
3 | --- files/patch-lib-rexml-formatters-pretty.rb.diff (revision 0) |
---|
4 | +++ files/patch-lib-rexml-formatters-pretty.rb.diff (revision 0) |
---|
5 | @@ -0,0 +1,10 @@ |
---|
6 | +--- lib/rexml/formatters/pretty.rb 2008/06/04 09:37:38 16810 |
---|
7 | ++++ lib/rexml/formatters/pretty.rb 2008/09/23 11:09:39 19487 |
---|
8 | +@@ -128,6 +128,7 @@ |
---|
9 | + # Recursively wrap string at width. |
---|
10 | + return string if string.length <= width |
---|
11 | + place = string.rindex(' ', width) # Position in string with last ' ' before cutoff |
---|
12 | ++ return string if place.nil? |
---|
13 | + return string[0,place] + "\n" + wrap(string[place+1..-1], width) |
---|
14 | + end |
---|
15 | + |
---|
16 | Index: Portfile |
---|
17 | =================================================================== |
---|
18 | --- Portfile (revision 39977) |
---|
19 | +++ Portfile (working copy) |
---|
20 | @@ -4,7 +4,7 @@ |
---|
21 | |
---|
22 | name ruby |
---|
23 | version 1.8.7-p72 |
---|
24 | -revision 0 |
---|
25 | +revision 1 |
---|
26 | |
---|
27 | categories lang ruby |
---|
28 | maintainers kimuraw |
---|
29 | @@ -38,7 +38,8 @@ |
---|
30 | patch-mkmf.rb \ |
---|
31 | patch-mkconfig.rb \ |
---|
32 | patch-socket.c \ |
---|
33 | - patch-test_socket.rb |
---|
34 | + patch-test_socket.rb \ |
---|
35 | + patch-lib-rexml-formatters-pretty.rb.diff |
---|
36 | |
---|
37 | use_autoconf yes |
---|
38 | use_parallel_build yes |
---|