summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-ntpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/files/patch-ntpd.h')
-rw-r--r--net/openntpd/files/patch-ntpd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/openntpd/files/patch-ntpd.h b/net/openntpd/files/patch-ntpd.h
new file mode 100644
index 000000000000..3bec8635593b
--- /dev/null
+++ b/net/openntpd/files/patch-ntpd.h
@@ -0,0 +1,16 @@
+$FreeBSD$
+--- ntpd.h.orig 2009-01-16 15:03:38.000000000 +0100
++++ ntpd.h 2009-08-01 22:31:40.000000000 +0200
+@@ -29,10 +29,11 @@
+ #include <pwd.h>
+ #include <stdarg.h>
+
++#include "compat.h"
+ #include "ntp.h"
+
+ #define NTPD_USER "_ntp"
+-#define CONFFILE "/etc/ntpd.conf"
++#define CONFFILE "%%PREFIX%%/etc/ntpd.conf"
+ #define DRIFTFILE "/var/db/ntpd.drift"
+
+ #define READ_BUF_SIZE 8192