From 62f52762349e18528e8eedeb80df2de023fcedbd Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 2 Mar 2021 09:37:02 -0600 Subject: Fix 3/9 month leap second patch --- recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch b/recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch index 8e8d814..f2c814e 100644 --- a/recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch +++ b/recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch @@ -1,9 +1,9 @@ -diff -Naur old/ntpshmwrite.c new/ntpshmwrite.c ---- old/ntpshmwrite.c 2017-01-23 10:00:05.497129473 -0600 -+++ new/ntpshmwrite.c 2017-01-23 09:47:58.881627772 -0600 -@@ -32,11 +32,18 @@ - * NTP expects leap pending for only 1 month prior to insertion - * Per http://bugs.ntp.org/1090 */ +diff -Naru old/ntpshmwrite.c new/ntpshmwrite.c +--- old/ntpshmwrite.c 2021-03-01 05:18:28.833952716 -0600 ++++ new/ntpshmwrite.c 2021-03-01 05:19:48.361954319 -0600 +@@ -40,11 +40,18 @@ + * in Jun/Dec but may be in March or September + */ (void)gmtime_r( &(td->real.tv_sec), &tm); +/* This code contradicts page 3 section 2.1 of ITU-R RV.460-6 that + * leap second may occur at the last second of a month, with -- cgit v1.2.3