New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15231: ruby-186-p114.patch

File ruby-186-p114.patch, 1.7 KB (added by kimuraw@…, 4 years ago)

The patch removes patch-lib-rexml-document.rb.diff from the Portfile ruby-1.8.6-p114

  • files/patch-lib-rexml-document.rb.diff

     
    1 --- lib/rexml/document.rb (revision 13681) 
    2 +++ lib/rexml/document.rb (working copy) 
    3 @@ -167,7 +167,7 @@ 
    4      #   indentation will be twice this number of spaces, and children will be 
    5      #   indented an additional amount.  For a value of 3, every item will be  
    6      #   indented 3 more levels, or 6 more spaces (2 * 3). Defaults to -1 
    7 -    # trans:: 
    8 +    # transitive:: 
    9      #   If transitive is true and indent is >= 0, then the output will be 
    10      #   pretty-printed in such a way that the added whitespace does not affect 
    11      #   the absolute *value* of the document -- that is, it leaves the value 
    12 @@ -178,7 +178,7 @@ 
    13      #   unable to parse proper XML, we have to provide a hack to generate XML 
    14      #   that IE's limited abilities can handle.  This hack inserts a space  
    15      #   before the /> on empty tags.  Defaults to false 
    16 -               def write( output=$stdout, indent=-1, trans=false, ie_hack=false ) 
    17 +               def write( output=$stdout, indent=-1, transitive=false, ie_hack=false ) 
    18        if xml_decl.encoding != "UTF-8" && !output.kind_of?(Output) 
    19          output = Output.new( output, xml_decl.encoding ) 
    20        end 
  • Portfile

     
    3636                                patch-instruby.rb \ 
    3737                                patch-mkconfig.rb \ 
    3838                                patch-mkmf.rb \ 
    39                                 patch-ruby.c \ 
    40                                 patch-lib-rexml-document.rb.diff 
     39                                patch-ruby.c 
    4140 
    4241use_autoconf    yes 
    4342