View | Details | Raw Unified | Return to bug 223819
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	ntp
4
PORTNAME=	ntp
5
PORTVERSION=	4.2.8p10
5
PORTVERSION=	4.2.8p10
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net ipv6
7
CATEGORIES=	net ipv6
8
MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
8
MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
9
		http://archive.ntp.org/ntp4/ntp-4.2/ \
9
		http://archive.ntp.org/ntp4/ntp-4.2/ \
(-)files/patch-ntpd__refclock__ripencc.c (+38 lines)
Line 0 Link Here
1
--- ntpd/refclock_ripencc.c.orig	2014-12-18 18:42:01.000000000 -0800
2
+++ ntpd/refclock_ripencc.c	2017-11-23 19:41:57.473988000 -0800
3
@@ -1517,7 +1517,7 @@
4
 
5
 	record_clock_stats(&peer->srcadr, logbuf);
6
 
7
-	if (!utcflags & UTCF_UTC_AVAIL)
8
+	if (!(utcflags & UTCF_UTC_AVAIL))
9
 		return(-1);
10
 
11
 	/* poll for UTC parameters once and then if UTC flag changed */
12
@@ -3442,7 +3442,7 @@
13
 	    status1, status2;
14
 	const char
15
 	    *text;
16
-	static const char const
17
+	static const char
18
 	    *sc_text[] = {
19
 		"Doing position fixes",
20
 		"Don't have GPS time yet",
21
@@ -4442,8 +4442,6 @@
22
 		known = TRUE;
23
 	}
24
 	if (known == FALSE) pbuf += sprintf(pbuf, "No known");
25
-	reserved = reserved;
26
-
27
 }
28
 
29
 /* 0x8F */
30
@@ -5059,7 +5057,7 @@
31
 	{
32
 		for (i=0; i<8; i++)
33
 		{
34
-			if (Flags&(1<<i)) pbuf += sprintf(pbuf, LeapStatusText[i]);
35
+			if (Flags&(1<<i)) pbuf += sprintf(pbuf, " %s", LeapStatusText[i]);
36
 		}
37
 	}
38
 	else

Return to bug 223819