guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: http-parser: Fix build on i686-linux.


From: guix-commits
Subject: 01/04: gnu: http-parser: Fix build on i686-linux.
Date: Tue, 16 Apr 2019 13:21:58 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 90b94761b673665e212e2677e5ed9924f9a6af42
Author: Ludovic Court├Ęs <address@hidden>
Date:   Tue Apr 16 17:48:46 2019 +0200

    gnu: http-parser: Fix build on i686-linux.
    
    Fixes a regression introduced in
    c11fcc6aa27db5f68aed807a6190143f4a156564, whereby 'http-parser' would
    fail to build on i686.
    
    * gnu/packages/web.scm (http-parser)[source](modules, snippet): New
    fields.
---
 gnu/packages/web.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a164048..2a982f4 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5163,7 +5163,16 @@ into your tests.  It automatically starts up a HTTP 
server in a separate thread
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "12ilmjma6vmlm2kl23fx5pbi226x098gljgxpx3h2kmq8pg2lm28"))))
+                "12ilmjma6vmlm2kl23fx5pbi226x098gljgxpx3h2kmq8pg2lm28"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; There are signedness errors that trigger on 32-bit
+                  ;; platforms that trigger, and '-Werror' leads to build
+                  ;; failures.
+                  (substitute* "Makefile"
+                    (("-Werror") ""))
+                  #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"



reply via email to

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