aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-dbi/Makefile2
-rw-r--r--databases/ruby-dbi/files/patch-lib+dbi.rb11
2 files changed, 12 insertions, 1 deletions
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile
index 2b4ca67bd0cd..3abd5b749544 100644
--- a/databases/ruby-dbi/Makefile
+++ b/databases/ruby-dbi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dbi
PORTVERSION= 0.4.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases ruby
MASTER_SITES= RF
MASTER_SITE_SUBDIR= ruby-dbi
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
+