summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/onak/files')
-rw-r--r--app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch
new file mode 100644
index 000000000000..e30c8c7a1488
--- /dev/null
+++ b/app-crypt/onak/files/onak-0.3.7-berkdb-5.0.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/319677
+
+--- configure.ac
++++ configure.ac
+@@ -17,7 +17,7 @@
+ printf "#include <db.h>\nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c
+ set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2"
+ AC_MSG_RESULT($v.$vv)
+-if test "$v" -eq 4; then
++if test "$v" -ge 4; then
+ for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do
+ AC_MSG_CHECKING(for db_create in lib$db)
+ oldLIBS="$LIBS"