aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-11-14 13:31:25 +0800
committerdinoex <dinoex@FreeBSD.org>2016-11-14 13:31:25 +0800
commit9063df9f39e6704397fbcf803f350b2a82c2a928 (patch)
tree6df9ce795d7d288a9ec4dd0e1111069b41f8a8d5 /www
parent2d6b6be27358b4519d222e4082d9e1df9c84f5f0 (diff)
downloadfreebsd-ports-gnome-9063df9f39e6704397fbcf803f350b2a82c2a928.tar.gz
freebsd-ports-gnome-9063df9f39e6704397fbcf803f350b2a82c2a928.tar.zst
freebsd-ports-gnome-9063df9f39e6704397fbcf803f350b2a82c2a928.zip
- fix purge with option BDB1
PR: 214483
Diffstat (limited to 'www')
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/webalizer/files/patch-wcmgr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 5fbb06a3a216..e92d9de419fb 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -2,7 +2,7 @@
PORTNAME= webalizer
PORTVERSION= 2.23.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \
ftp://ftp.mrunix.net/pub/webalizer/geodb/:geodb \
diff --git a/www/webalizer/files/patch-wcmgr.c b/www/webalizer/files/patch-wcmgr.c
index 1b3d4bdcb3c6..0db55272dc9c 100644
--- a/www/webalizer/files/patch-wcmgr.c
+++ b/www/webalizer/files/patch-wcmgr.c
@@ -153,7 +153,7 @@
/* open the input database (read-write) */
+#ifdef USE_DB185
-+ dns_db = dbopen(in_file, O_RDONLY, 0664, DB_HASH, NULL);
++ dns_db = dbopen(in_file, O_RDWR|O_CREAT, 0664, DB_HASH, NULL);
+ i = errno;
+ if (!dns_db)
+#else