summaryrefslogtreecommitdiff
path: root/net/chrony/patches/patch-ad
blob: f0f8a81ba1ab9f1c91ea5768bc3ae350ee5fd4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.4 2013/08/16 08:30:20 hannken Exp $

Prepare for SUBST, not processed by configure.

--- conf.c.orig	2013-08-08 13:58:07.000000000 +0000
+++ conf.c
@@ -197,7 +197,7 @@ static IPAddr bind_cmd_address4, bind_cm
 
 /* Filename to use for storing pid of running chronyd, to prevent multiple
  * chronyds being started. */
-static char *pidfile = "/var/run/chronyd.pid";
+static char *pidfile = "@VARBASE@/run/chronyd.pid";
 
 /* Temperature sensor, update interval and compensation coefficients */
 static char *tempcomp_file = NULL;