summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd
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-03-02 03:59:29 -0600
commit118a90b9da704c40a5b0ffe2413e639a89f90ba4 (patch)
treed9bbb3ff2dc6d998d9f72b9536171e17b920d7fd /recipes-navigation/gpsd
parentff57030ea285d188cf2d2759d8d3e5327b3c1a0b (diff)
downloadmeta-mlinux-118a90b9da704c40a5b0ffe2413e639a89f90ba4.tar.gz
meta-mlinux-118a90b9da704c40a5b0ffe2413e639a89f90ba4.tar.bz2
meta-mlinux-118a90b9da704c40a5b0ffe2413e639a89f90ba4.zip
Fix 3/9 month leap second patch
Diffstat (limited to 'recipes-navigation/gpsd')
-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