guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/23: gnu: mbedtls-for-hiawatha: Use inherited source.


From: guix-commits
Subject: 01/23: gnu: mbedtls-for-hiawatha: Use inherited source.
Date: Mon, 5 Feb 2024 02:29:41 -0500 (EST)

hako pushed a commit to branch master
in repository guix.

commit 8dfaf461b4afd6c45d714a9494ad4fcd141aa99a
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat May 27 18:51:48 2023 +0800

    gnu: mbedtls-for-hiawatha: Use inherited source.
    
    * gnu/packages/tls.scm (mbedtls-for-hiawatha): Use inherited source.
    [arguments]<#:phases>: Keep "-Wformat-signedness".
    
    Change-Id: I562ae6533b518a853b9b59f8fb69c0135364277f
---
 gnu/packages/tls.scm | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 6ba2effa5d..4fbb35cc58 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -978,8 +978,6 @@ number generator")
 (define-public mbedtls-apache
   (package
     (name "mbedtls-apache")
-    ;; XXX Check whether ‘-Wformat-signedness’ still breaks 
mbedtls-for-hiawatha
-    ;; when updating.
     (version "2.28.5")
     (source
      (origin
@@ -1016,26 +1014,6 @@ coding footprint.")
   (hidden-package
    (package
      (inherit mbedtls-apache)
-     (name "mbedtls-apache")
-     (version "2.26.0")
-     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "https://github.com/ARMmbed/mbedtls";)
-              (commit (string-append "mbedtls-" version))))
-        (sha256
-         (base32 "0scwpmrgvg6q7rvqkc352d2fqlsx0aylcbyibcp1f1rsn8iiif2m"))
-        (file-name (git-file-name name version))
-        (modules '((guix build utils)))
-        (snippet
-         '(begin
-            ;; Can be removed with the next version.
-            ;; Reduce level of format truncation warnings due to false 
positives.
-            ;; 
https://github.com/ARMmbed/mbedtls/commit/2065a8d8af27c6cb1e40c9462b5933336dca7434
-            (substitute* "CMakeLists.txt"
-              (("Wformat-truncation=2") "Wformat-truncation"))
-            #t))))
      (arguments
       (substitute-keyword-arguments (package-arguments mbedtls-apache)
         ((#:phases phases)
@@ -1046,9 +1024,6 @@ coding footprint.")
                             (invoke "scripts/config.pl" "set" feature))
                           (list "MBEDTLS_THREADING_C"
                                 "MBEDTLS_THREADING_PTHREAD"))
-                ;; XXX The above enables code that breaks with -Werror…
-                (substitute* "CMakeLists.txt"
-                  ((" -Wformat-signedness") ""))
                 #t)))))))))
 
 (define-public dehydrated



reply via email to

[Prev in Thread] Current Thread [Next in Thread]