diff options
author | Brad Davis <brd@FreeBSD.org> | 2017-03-31 14:32:02 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2017-03-31 14:32:02 +0000 |
commit | f13fc84959fd7381a1108793020a387197515de8 (patch) | |
tree | 014f7fcca7593c59857b1c90c6a804247eb22fd2 /net/p5-Net-NTP/files/patch-lib_Net_NTP.pm | |
parent | Fix people using LICENSE_DISTFILES in the wrong way. (diff) |
Add net/p5-Net-NTP
Approved by: swills (mentor)
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=437360
Diffstat (limited to 'net/p5-Net-NTP/files/patch-lib_Net_NTP.pm')
-rw-r--r-- | net/p5-Net-NTP/files/patch-lib_Net_NTP.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/p5-Net-NTP/files/patch-lib_Net_NTP.pm b/net/p5-Net-NTP/files/patch-lib_Net_NTP.pm new file mode 100644 index 000000000000..9625e9de5be9 --- /dev/null +++ b/net/p5-Net-NTP/files/patch-lib_Net_NTP.pm @@ -0,0 +1,10 @@ +--- lib/Net/NTP.pm.orig 2017-03-30 18:32:06 UTC ++++ lib/Net/NTP.pm +@@ -179,6 +179,7 @@ sub get_ntp_response { + alarm(0); + }; + alarm 0; ++ die $@ if $@; + + my $rectime = time; # T4 + my $pkt = Net::NTP::Packet->decode($data, $xmttime, $rectime); |