summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/webalizer/files/webalizer-db4.patch')
-rw-r--r--app-admin/webalizer/files/webalizer-db4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/webalizer/files/webalizer-db4.patch b/app-admin/webalizer/files/webalizer-db4.patch
new file mode 100644
index 000000000000..6570c2ae8a4d
--- /dev/null
+++ b/app-admin/webalizer/files/webalizer-db4.patch
@@ -0,0 +1,11 @@
+--- configure.in 2000-10-06 09:51:49.000000000 +0200
++++ configure.in 2005-04-02 13:06:24.623616376 +0200
+@@ -71,7 +71,7 @@
+ if test "$HAVE_DB" = ""; then
+ AC_CHECK_FUNCS(dbopen)
+ if test $ac_cv_func_dbopen = no; then
+- AC_SEARCH_LIBS(dbopen, db db1, OPTS="-DUSE_DNS ${OPTS}"; HAVE_DB="yes")
++ AC_SEARCH_LIBS(__db185_open_4001,db-4.1, OPTS="-DUSE_DNS ${OPTS}"; HAVE_DB="yes")
+ if test "$HAVE_DB" = ""; then
+ AC_MSG_WARN(You must have a V1.85 compatable DB library!)
+ AC_MSG_WARN(DNS lookup code will be disabled...)