From owner-svn-ports-all@freebsd.org Fri Feb 2 06:55:53 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E0CEEE9582; Fri, 2 Feb 2018 06:55:53 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5E0F7D6AA; Fri, 2 Feb 2018 06:55:52 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C0B68185EE; Fri, 2 Feb 2018 06:55:52 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w126tq9r072263; Fri, 2 Feb 2018 06:55:52 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w126tql8072261; Fri, 2 Feb 2018 06:55:52 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201802020655.w126tql8072261@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Fri, 2 Feb 2018 06:55:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460670 - in head/net/ntp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cy X-SVN-Commit-Paths: in head/net/ntp: . files X-SVN-Commit-Revision: 460670 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 06:55:53 -0000 Author: cy Date: Fri Feb 2 06:55:52 2018 New Revision: 460670 URL: https://svnweb.freebsd.org/changeset/ports/460670 Log: Fix RIPENCC TRIMBLE driver compile error. PR: 223819 Added: head/net/ntp/files/patch-ntpd__refclock__ripencc.c (contents, props changed) Modified: head/net/ntp/Makefile Modified: head/net/ntp/Makefile ============================================================================== --- head/net/ntp/Makefile Fri Feb 2 06:50:24 2018 (r460669) +++ head/net/ntp/Makefile Fri Feb 2 06:55:52 2018 (r460670) @@ -3,7 +3,7 @@ PORTNAME= ntp PORTVERSION= 4.2.8p10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ \ Added: head/net/ntp/files/patch-ntpd__refclock__ripencc.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ntp/files/patch-ntpd__refclock__ripencc.c Fri Feb 2 06:55:52 2018 (r460670) @@ -0,0 +1,38 @@ +--- ntpd/refclock_ripencc.c.orig 2014-12-18 18:42:01.000000000 -0800 ++++ ntpd/refclock_ripencc.c 2017-11-23 19:41:57.473988000 -0800 +@@ -1517,7 +1517,7 @@ + + record_clock_stats(&peer->srcadr, logbuf); + +- if (!utcflags & UTCF_UTC_AVAIL) ++ if (!(utcflags & UTCF_UTC_AVAIL)) + return(-1); + + /* poll for UTC parameters once and then if UTC flag changed */ +@@ -3442,7 +3442,7 @@ + status1, status2; + const char + *text; +- static const char const ++ static const char + *sc_text[] = { + "Doing position fixes", + "Don't have GPS time yet", +@@ -4442,8 +4442,6 @@ + known = TRUE; + } + if (known == FALSE) pbuf += sprintf(pbuf, "No known"); +- reserved = reserved; +- + } + + /* 0x8F */ +@@ -5059,7 +5057,7 @@ + { + for (i=0; i<8; i++) + { +- if (Flags&(1<