guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: lagrange: Fix build.


From: guix-commits
Subject: branch master updated: gnu: lagrange: Fix build.
Date: Sun, 19 Dec 2021 15:39:49 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new fa5a4fb  gnu: lagrange: Fix build.
fa5a4fb is described below

commit fa5a4fb797415a5e209c04dca0f6d21ee1e33e83
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 19 21:38:20 2021 +0100

    gnu: lagrange: Fix build.
    
    * gnu/packages/web-browsers.scm (lagrange)[argument]<#:phases>: Add phase to
    fix build.
    
    Fixes <https://issues.guix.gnu.org/52664>.
---
 gnu/packages/web-browsers.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 8984d6b..f8a6a6e 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -710,7 +710,23 @@ is fully configurable and extensible in Common Lisp.")
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #false                  ;no tests
-       #:configure-flags (list "-DTFDN_ENABLE_SSE41=OFF")))
+       #:configure-flags (list "-DTFDN_ENABLE_SSE41=OFF")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-build-error
+           (lambda _
+             ;; XXX: Remove in next release.  Applied upstream.  See
+             ;; 
<https://git.skyjake.fi/gemini/lagrange/commit/b710eee5a92166ceb87932fe53b226be64b4d259>.
+             (substitute* "src/ui/text.c"
+               (("width <= 1") "width && width <= 1")
+               (("colorId") "fgColorId"))
+             (substitute* "src/ui/text_simple.c"
+               (("colorId") "fgColorId")
+               (("const iColor clr =") "iColor clr;")
+               (("ansiForeground_Color\\((.+)\\);" _ params)
+                (string-append "ansiColors_Color("
+                               params
+                               ", none_ColorId, &clr, NULL);"))))))))
     (native-inputs
      (list pkg-config zip))
     (inputs



reply via email to

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