summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-15 19:21:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-15 19:21:55 +0000
commit2541167b980c5c9b6a771e0f9d1ae449dcc82f10 (patch)
tree555a3fd21cb35b6cbb49d868a2bffd6ffc5a1c1e /dev-ruby/builder/files
parentMarking xtrap-1.0.2 ppc64 for bug 294958 (diff)
downloadgentoo-2-2541167b980c5c9b6a771e0f9d1ae449dcc82f10.tar.gz
gentoo-2-2541167b980c5c9b6a771e0f9d1ae449dcc82f10.tar.bz2
gentoo-2-2541167b980c5c9b6a771e0f9d1ae449dcc82f10.zip
Bump to ruby-fakegem, add a patch from activesupport.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/builder/files')
-rw-r--r--dev-ruby/builder/files/builder-2.1.2-activesupport.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ruby/builder/files/builder-2.1.2-activesupport.patch b/dev-ruby/builder/files/builder-2.1.2-activesupport.patch
new file mode 100644
index 000000000000..c0b0b5bdcefa
--- /dev/null
+++ b/dev-ruby/builder/files/builder-2.1.2-activesupport.patch
@@ -0,0 +1,12 @@
+diff -urb builder-2.1.2/lib/builder/xchar.rb activesupport-2.3.2/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb
+--- builder-2.1.2/lib/builder/xchar.rb 2006-12-24 20:29:01.000000000 +0100
++++ activesupport-2.3.2/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb 2008-10-19 20:32:21.000000000 +0200
+@@ -10,7 +10,7 @@
+
+ module Builder
+ def self.check_for_name_collision(klass, method_name, defined_constant=nil)
+- if klass.instance_methods.include?(method_name)
++ if klass.instance_methods.include?(method_name.to_s)
+ fail RuntimeError,
+ "Name Collision: Method '#{method_name}' is already defined in #{klass}"
+ end