diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-07-12 18:50:34 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-07-12 18:50:34 +0000 |
commit | a10ce4aa5f45c9b57b180ca86da37f2d23f179c9 (patch) | |
tree | 5037e6f02328740c914d4fbadc2cdde3ae59423b /net/ntp | |
parent | Fix dependency (diff) |
Fix jjy driver. This patch fixes an invalid command to the
C-DEX JST2000.
Submitted by: nork
Reviewed by: Harlan Stenn <stenn@whimsy.udel.edu>
Notes
Notes:
svn path=/head/; revision=62872
Diffstat (limited to 'net/ntp')
-rw-r--r-- | net/ntp/Makefile | 1 | ||||
-rw-r--r-- | net/ntp/files/patch-ntpd::refclock_jjy.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile index 2465ba3daf3b..565346189d8f 100644 --- a/net/ntp/Makefile +++ b/net/ntp/Makefile @@ -7,6 +7,7 @@ PORTNAME= ntp PORTVERSION= 4.1.1a +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \ http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \ diff --git a/net/ntp/files/patch-ntpd::refclock_jjy.c b/net/ntp/files/patch-ntpd::refclock_jjy.c new file mode 100644 index 000000000000..4852ac012988 --- /dev/null +++ b/net/ntp/files/patch-ntpd::refclock_jjy.c @@ -0,0 +1,11 @@ +--- ntpd/refclock_jjy.c.orig Thu Jan 17 10:40:53 2002 ++++ ntpd/refclock_jjy.c Fri Jul 12 11:37:44 2002 +@@ -701,7 +701,7 @@ + * Send "<ENQ>1J<ETX>" command + */ + +- if ( write ( pp->io.fd, "\x051J\x03", 4 ) != 4 ) { ++ if ( write ( pp->io.fd, "\0051J\003", 4 ) != 4 ) { + refclock_report ( peer, CEVNT_FAULT ) ; + } + |