pkgsrc/net/dhisd/patches/patch-ab
cjep 7351aaa601 Remove inclusion of varargs.h as the program does not appear to use
va_{start,arg,end} and the inclusion stops the program building with
gcc3.3.

(Also use bl2.)
2004-01-11 14:49:19 +00:00

24 lines
663 B
Text

$NetBSD: patch-ab,v 1.2 2004/01/11 14:49:19 cjep Exp $
--- dhisd.h.orig 2001-04-01 00:24:33.000000000 +0100
+++ dhisd.h
@@ -47,7 +47,6 @@
#include<sys/signal.h>
#include<sys/wait.h>
#include<syslog.h>
-#include<varargs.h>
#include<gmp.h>
#define BOURNE_SHELL "/bin/sh"
@@ -64,9 +63,9 @@
#define CHECK_FAILS 3 /* maximum check fails */
#define DHISD_PORT 58800
-#define DHISD_PID "/etc/dhis/pid/dhisd.pid"
+#define DHISD_PID "/var/run/dhisd.pid"
#define DHISD_DB "/etc/dhis/db/dhis.db"
-#define DHISD_LOG "/etc/dhis/log/dhisd.log"
+#define DHISD_LOG "/var/log/dhisd.log"
#define DHISD_SERVICES "/etc/dhis/db/services.db"
#define MAX_HOSTNAME 64