janneke pushed a commit to branch core-packages-team
in repository guix.
commit 02012dd4761e2ebeef76ad05113897cf5b067224
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Jan 2 13:45:34 2025 +0100
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
---
gnu/packages/tls.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 22da51ecaf..3e1bc6d47f 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2017 Rutger Helling <[email protected]>
;;; Copyright © 2018 Clément Lassieur <[email protected]>
;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
-;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2020, 2023, 2025 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2020, 2021, 2023, 2024 Maxim Cournoyer
<[email protected]>
;;; Copyright © 2021 Solene Rapenne <[email protected]>
;;; Copyright © 2021 Brice Waegeneire <[email protected]>
@@ -970,7 +970,7 @@ number generator")
(define-public mbedtls-lts
(package
(name "mbedtls")
- (version "2.28.7")
+ (version "2.28.9")
(source
(origin
(method git-fetch)
@@ -979,11 +979,12 @@ number generator")
(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