summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dctc/files/dctc-0.85.9-skip_db_ver_check.patch')
-rw-r--r--net-p2p/dctc/files/dctc-0.85.9-skip_db_ver_check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/dctc/files/dctc-0.85.9-skip_db_ver_check.patch b/net-p2p/dctc/files/dctc-0.85.9-skip_db_ver_check.patch
new file mode 100644
index 000000000000..4d92c02b53b7
--- /dev/null
+++ b/net-p2p/dctc/files/dctc-0.85.9-skip_db_ver_check.patch
@@ -0,0 +1,13 @@
+--- configure.in
++++ configure.in
+@@ -222,10 +222,6 @@
+ CPPFLAGS="$CPPFLAGS -DBDB_V4"
+ fi
+
+- if test $db_major -ne 3 -a $db_major -ne 4; then
+- AC_MSG_ERROR(no supported BerkeleyDB found (4.x or 3.x). Your version is $db_version)
+- fi
+-
+ AC_CHECK_LIB(db-$db_version,db_env_create,HAVE_DB=yes)
+ if test "x$HAVE_DB" = "xyes"; then
+ AC_SUBST(berkeleydb_libs)