[34429] trunk/dports/lang/ruby

pguyot at kallisys.net pguyot at kallisys.net
Sun Feb 24 12:12:21 PST 2008


Revision: 34429
          http://trac.macosforge.org/projects/macports/changeset/34429
Author:   pguyot at kallisys.net
Date:     2008-02-24 12:12:21 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
lang/ruby: include fix for lib/rexml (#13135)

Modified Paths:
--------------
    trunk/dports/lang/ruby/Portfile

Added Paths:
-----------
    trunk/dports/lang/ruby/files/patch-lib-rexml-document.rb.diff

Modified: trunk/dports/lang/ruby/Portfile
===================================================================
--- trunk/dports/lang/ruby/Portfile	2008-02-24 20:07:18 UTC (rev 34428)
+++ trunk/dports/lang/ruby/Portfile	2008-02-24 20:12:21 UTC (rev 34429)
@@ -1,8 +1,10 @@
 # $Id$
-PortSystem		1.0
 
+PortSystem 1.0
+
 name			ruby
 version			1.8.6-p111
+revision		1
 
 categories		lang ruby
 maintainers		pguyot at kallisys.net
@@ -35,7 +37,8 @@
 				patch-instruby.rb \
 				patch-mkconfig.rb \
 				patch-mkmf.rb \
-				patch-ruby.c
+				patch-ruby.c \
+				patch-lib-rexml-document.rb.diff
 
 use_autoconf	yes
 

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080224/8b4983f0/attachment.html 


More information about the macports-changes mailing list