gnu: mbedtls-lts: Update to 2.28.9 and fix build with gcc-14.

* gnu/packages/tls.scm (mbedtls-lts): Update to 2.28.9.
[arguments]: Extend #:configure-flags to relax gcc-14's strictness.

Change-Id: I928b2c9b76966f830ff8c953d8978518f9e2993b
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 13:45:34 +01:00
parent c283d28337
commit b529734bae
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -14,7 +14,7 @@
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020, 2023, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020, 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
@ -966,7 +966,7 @@ (define-public perl-crypt-openssl-random
(define-public mbedtls-lts
(package
(name "mbedtls")
(version "2.28.7")
(version "2.28.9")
(source
(origin
(method git-fetch)
@ -975,11 +975,12 @@ (define-public mbedtls-lts
(commit (string-append "mbedtls-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "070i5pxciw04swfqk1rmdprhsafn4cias3dlmkm467pqpjnhb394"))))
(base32 "0ldqhvmj9wl0yp3hz675zbnq69lw533s0ahy9bbdxxnj5gjb86gw"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
#~(list "-DUSE_SHARED_MBEDTLS_LIBRARY=ON"
#~(list "-DCMAKE_C_FLAGS=-Wno-error=calloc-transposed-args"
"-DUSE_SHARED_MBEDTLS_LIBRARY=ON"
"-DUSE_STATIC_MBEDTLS_LIBRARY=OFF")
#:phases
#~(modify-phases %standard-phases