summaryrefslogtreecommitdiff
path: root/www/webalizer/patches/patch-ab
blob: b68897b755f7cb659b09b5e2cf0ad9d72466839e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2000/10/18 16:41:26 mjl Exp $

--- webalizer.c.orig	Tue Oct 17 06:15:53 2000
+++ webalizer.c	Wed Oct 18 18:12:27 2000
@@ -267,6 +267,8 @@
    /* check for default config file */
    if (!access("webalizer.conf",F_OK))
       get_config("webalizer.conf");
+   else if (!access(PREFIX "/etc/webalizer.conf", F_OK))
+      get_config(PREFIX "/etc/webalizer.conf");
    else if (!access(tmp_buf,F_OK))
       get_config(tmp_buf);