diff options
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); |