gnu: autofs: Update to 5.1.9 and fix build with gcc-14.

* gnu/packages/file-systems.scm (autofs): Update to 5.1.9.
[arguments]: Add #:make-flags to relax gcc-14's strictness.

Change-Id: I08c19300feacfdcd69c9721a22cbd543655ec3a2
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-04 11:39:43 +01:00
parent 8ed3b56066
commit 1a93a01a54
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -14,7 +14,8 @@
;;; Copyright © 2023 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Ahmad Draidi <a.r.draidi@redscript.org>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
@ -123,7 +124,7 @@ (define-module (gnu packages file-systems)
(define-public autofs
(package
(name "autofs")
(version "5.1.8")
(version "5.1.9")
(source
(origin
(method url-fetch)
@ -131,7 +132,7 @@ (define-public autofs
"v" (version-major version) "/"
"autofs-" version ".tar.xz"))
(sha256
(base32 "1zf0fgf6kr9amxq5amlgsp1v13sizwl3wvx2xl7b4r2nhmci0gdk"))))
(base32 "0jy2nf9j8pf8888rxm9cr7vva8vx1vjq35six9i98jvr0dmazrl7"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
@ -146,6 +147,7 @@ (define-public autofs
(string-append "sssldir="
(assoc-ref %build-inputs "sssd")
"/lib/sssd/modules"))
#:make-flags '("CC=gcc -Wno-error=incompatible-pointer-types")
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases