components/ruby/patches/02-mkconfig.rb.patch
branchs11-sru
changeset 2248 c2beb07524a9
parent 2247 38a3a4c7f6bd
child 2249 9c4f7d7572dd
--- a/components/ruby/patches/02-mkconfig.rb.patch	Thu Feb 23 11:02:30 2012 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
---- ruby-1.8.7-p334.orig/mkconfig.rb	Tue Nov 23 23:38:41 2010
-+++ ruby-1.8.7-p334/mkconfig.rb	Fri Mar 25 10:31:24 2011
-@@ -56,14 +56,13 @@
-       continued_name = name
-       next
-     end
--  when /^"(.+)"\s*(\\)?$/
-+  when /^"(.*)"\s*(\\)?$/
-     if continued_line
-       continued_line <<  $1
--      unless $2
--	val = continued_line.join("")
--	name = continued_name
--	continued_line = nil
--      end
-+      next if $2
-+      val = continued_line.join("")
-+      name = continued_name
-+      continued_line = nil
-     end
-   when /^(?:ac_given_)?INSTALL=(.*)/
-     v_fast << "  CONFIG[\"INSTALL\"] = " + $1 + "\n"