summaryrefslogtreecommitdiff
path: root/databases/ruby-dbi/files/patch-lib+dbi.rb
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2011-01-16 18:04:28 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2011-01-16 18:04:28 +0000
commit93c45106d9ec29ddeed2be7689e1757edcd881f8 (patch)
treef86a5abea1df7ff56ae742a733f73d51622321da /databases/ruby-dbi/files/patch-lib+dbi.rb
parentUpdate to the 20110115 snapshot of GCC 4.6.0. (diff)
Fix error when deprecated >= 3 is installed.
Feature safe: yes
Diffstat (limited to 'databases/ruby-dbi/files/patch-lib+dbi.rb')
-rw-r--r--databases/ruby-dbi/files/patch-lib+dbi.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/ruby-dbi/files/patch-lib+dbi.rb b/databases/ruby-dbi/files/patch-lib+dbi.rb
new file mode 100644
index 000000000000..66557dd00120
--- /dev/null
+++ b/databases/ruby-dbi/files/patch-lib+dbi.rb
@@ -0,0 +1,11 @@
+--- lib/dbi.rb.orig 2009-09-14 05:43:32.000000000 +0900
++++ lib/dbi.rb 2011-01-17 02:53:43.819024000 +0900
+@@ -37,7 +37,7 @@
+
+ begin
+ require "rubygems"
+- gem "deprecated"
++ gem "deprecated", "<3"
+ rescue LoadError
+ end
+