diff options
author | knu <knu@FreeBSD.org> | 2007-08-14 21:40:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2007-08-14 21:40:33 +0800 |
commit | 46cb92908b87cc5becfe17c6d562647183422131 (patch) | |
tree | 1b2f8aa8d5bbeb74d5b4f9ed4f74f0eed0ee62ef /databases/ruby-bdb | |
parent | 022f0697aaed7ca0680cf0ce00dbb0428e8a600e (diff) | |
download | freebsd-ports-gnome-46cb92908b87cc5becfe17c6d562647183422131.tar.gz freebsd-ports-gnome-46cb92908b87cc5becfe17c6d562647183422131.tar.zst freebsd-ports-gnome-46cb92908b87cc5becfe17c6d562647183422131.zip |
Add a patch to fix build with Berkeley db 4.2-4.3.
Tested with the bundled test suite.
Reported by: many..
Diffstat (limited to 'databases/ruby-bdb')
-rw-r--r-- | databases/ruby-bdb/files/patch-src::bdb.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/ruby-bdb/files/patch-src::bdb.c b/databases/ruby-bdb/files/patch-src::bdb.c new file mode 100644 index 000000000000..f24545206aed --- /dev/null +++ b/databases/ruby-bdb/files/patch-src::bdb.c @@ -0,0 +1,14 @@ +--- src/bdb.c.orig Sun Jul 29 23:33:18 2007 ++++ src/bdb.c Tue Aug 14 22:33:01 2007 +@@ -512,7 +512,11 @@ + #ifdef DB_REP_ISPERM + rb_define_const(bdb_mDb, "REP_ISPERM", INT2FIX(DB_REP_ISPERM)); + rb_define_const(bdb_mDb, "REP_NOTPERM", INT2FIX(DB_REP_NOTPERM)); ++#endif ++#ifdef DB_REP_IGNORE + rb_define_const(bdb_mDb, "REP_IGNORE", INT2FIX(DB_REP_IGNORE)); ++#endif ++#ifdef DB_REP_JOIN_FAILURE + rb_define_const(bdb_mDb, "REP_JOIN_FAILURE", INT2FIX(DB_REP_JOIN_FAILURE)); + #endif + rb_define_const(bdb_mDb, "EID_BROADCAST", INT2FIX(DB_EID_BROADCAST)); |