1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add a patch to fix build with Berkeley db 4.2-4.3.

Tested with the bundled test suite.

Reported by:	many..
This commit is contained in:
Akinori MUSHA 2007-08-14 13:40:33 +00:00
parent 04bb9cb47a
commit b90590351d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197665

View File

@ -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));