summaryrefslogtreecommitdiff
path: root/lang/ruby18-base
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18-base')
-rw-r--r--lang/ruby18-base/distinfo3
-rw-r--r--lang/ruby18-base/patches/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/ruby18-base/distinfo b/lang/ruby18-base/distinfo
index 3f61995a175..ec0058bdb83 100644
--- a/lang/ruby18-base/distinfo
+++ b/lang/ruby18-base/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2006/12/06 16:24:27 taca Exp $
+$NetBSD: distinfo,v 1.18 2007/01/19 19:50:46 minskim Exp $
SHA1 (ruby-1.8.5-base-20061205.patch.bz2) = 48596c5f528b36093d2cf84d5ea449939152a15c
RMD160 (ruby-1.8.5-base-20061205.patch.bz2) = e13915938f5429d00498690960471eac36c68c7a
@@ -8,5 +8,6 @@ RMD160 (ruby-1.8.5.tar.gz) = 991899146c23c9ea30ac09f41b7077fa0c8686b6
Size (ruby-1.8.5.tar.gz) = 4438603 bytes
SHA1 (patch-aa) = c5413c506b93657d909bc3cbdcdb51e7c216491e
SHA1 (patch-ab) = a1a76abd093a08e76be61678febd5f8c8cba164d
+SHA1 (patch-ac) = b84bc931ab3dd7fe619cca846a300673fa71f48e
SHA1 (patch-ae) = dfa9c5296c75f6193c790fca8d3eb15ad4a9f228
SHA1 (patch-af) = 165c8b564311d1ce03722c7c3cf455bbaf1b1a3a
diff --git a/lang/ruby18-base/patches/patch-ac b/lang/ruby18-base/patches/patch-ac
new file mode 100644
index 00000000000..03fc4d9e2b5
--- /dev/null
+++ b/lang/ruby18-base/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.5 2007/01/19 19:50:46 minskim Exp $
+
+--- ext/dbm/extconf.rb.orig 2007-01-19 11:39:20.000000000 -0800
++++ ext/dbm/extconf.rb
+@@ -36,7 +36,8 @@ def headers.db_check(db)
+ db_prefix ||= ""
+
+ if (have_library(db, db_prefix+"dbm_open") || have_func(db_prefix+"dbm_open")) and
+- hdr = self.fetch(db, ["ndbm.h"]).find {|hdr| have_type("DBM", hdr, hsearch)}
++ (hdr = self.fetch(db, ["ndbm.h"]).find {|hdr| have_type("DBM", hdr, hsearch)} or
++ hdr = self.fetch(db, ["ndbm.h"]).find {|hdr| have_type("DBM", ["db.h", hdr], hsearch)})
+ have_func(db_prefix+"dbm_clearerr") unless have_gdbm
+ $defs << hsearch if hsearch
+ $defs << '-DDBM_HDR="<'+hdr+'>"'