components/ntp/patches/10-etcfix.patch
changeset 3839 dece34b8bbeb
parent 1467 f14b6c5766ca
child 7804 d4f2d5f40cf9
--- a/components/ntp/patches/10-etcfix.patch	Fri Feb 20 10:46:39 2015 -0800
+++ b/components/ntp/patches/10-etcfix.patch	Fri Feb 20 11:48:36 2015 -0800
@@ -37,14 +37,14 @@
  # else
  #define KEYFILE 	"%windir%\\ntp.keys"
  # endif /* SYS_WINNT */
---- ntpd/refclock_oncore.c.orig	Thu May 14 06:34:41 2009
-+++ ntpd/refclock_oncore.c	Thu May 14 06:15:12 2009
[email protected]@ -1210,7 +1210,7 @@
+--- ntpd/refclock_oncore.c
++++ ntpd/refclock_oncore.c
[email protected]@ -1211,7 +1211,7 @@ oncore_read_config(
  
  	FILE	*fd;
- 	char	*cp, *cc, *ca, line[100], units[2], device[64], **cpp;
--	char	*dirs[] = { "/etc/ntp", "/etc", 0 };
-+	char	*dirs[] = { "/etc/inet", "/etc", 0 };
+ 	char	*cc, *ca, line[100], units[2], device[64];
+-	const char	*dirs[] = { "/etc/ntp", "/etc", 0 };
++	const char	*dirs[] = { "/etc/inet/ntp", "/etc/inet", 0 };
+ 	const char *cp, **cpp;
  	int	i, sign, lat_flg, long_flg, ht_flg, mode, mask;
  	double	f1, f2, f3;
-