summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-03-02 09:37:02 -0600
committerJohn Klug <john.klug@multitech.com>2021-06-22 09:29:50 -0500
commit62f52762349e18528e8eedeb80df2de023fcedbd (patch)
treea390914226f610cd5e4327d967de59afe2e8f4a6
parentaff20735bd6cec0bef0263f8a21eed315c578d8f (diff)
downloadmeta-mlinux-62f52762349e18528e8eedeb80df2de023fcedbd.tar.gz
meta-mlinux-62f52762349e18528e8eedeb80df2de023fcedbd.tar.bz2
meta-mlinux-62f52762349e18528e8eedeb80df2de023fcedbd.zip
Fix 3/9 month leap second patch
-rw-r--r--recipes-navigation/gpsd/gpsd-3.20/0006-itu_r_tf_460_6.patch12
1 files 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