gnu: GPSD: Update to 3.23.

Fixes <https://gitlab.com/gpsd/gpsd/-/issues/144>, "GPSD time will jump
back 1024 weeks at after week=2180 (23-October-2021)".

See also <http://bugs.gnu.org/49815>.

* gnu/packages/gps.scm (gpsd): Update to 3.23.
[arguments]: Set TAR=noop in the 'fix-build' phase.
This commit is contained in:
Leo Famulari 2021-08-07 14:06:38 -04:00
parent 29883f1130
commit 178cbc30d4
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -222,14 +222,14 @@ (define-public gpxsee
(define-public gpsd
(package
(name "gpsd")
(version "3.21")
(version "3.23")
(source
(origin
(method url-fetch)
(uri (string-append "https://download-mirror.savannah.gnu.org"
"/releases/gpsd/gpsd-" version ".tar.gz"))
"/releases/gpsd/gpsd-" version ".tar.xz"))
(sha256
(base32 "14gyqrbrq6jz4y6x59rdpv9d4c3pbn0vh1blq3iwrc6kz0x4ql35"))))
(base32 "1px9im0qfn8k7mnvjcw5myakzd7mad2drwyzji400hpwyswjjr73"))))
(build-system scons-build-system)
(native-inputs
`(("bc" ,bc)
@ -259,7 +259,8 @@ (define-public gpsd
(modify-phases %standard-phases
(add-after 'unpack 'fix-build
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "SConstruct"
(setenv "TAR" "noop")
(substitute* "SConscript"
(("envs = \\{\\}")
"envs = os.environ"))
#t))