guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: ungoogled-chromium-wayland: Fix build.


From: guix-commits
Subject: 02/09: gnu: ungoogled-chromium-wayland: Fix build.
Date: Tue, 25 Feb 2020 12:36:16 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit bfce33cdff32ec9bbe163bbf7270fe7477e4fdde
Author: Marius Bakke <address@hidden>
AuthorDate: Tue Feb 25 16:14:54 2020 +0100

    gnu: ungoogled-chromium-wayland: Fix build.
    
    * gnu/packages/chromium.scm (ungoogled-chromium/wayland)[arguments]: Add 
#:phases.
---
 gnu/packages/chromium.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 5697c80..ae7691d 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -868,6 +868,16 @@ disabled in order to protect the users privacy.")
        ,@(package-inputs ungoogled-chromium)))
     (arguments
      (substitute-keyword-arguments (package-arguments ungoogled-chromium)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'add-ozone-patch
+             (lambda _
+               ;; Add missing include statement required when using libstdc++,
+               ;; Clang and Ozone.  Fixed in M81.
+               (substitute* 
"ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc"
+                 (("#include \"base/logging\\.h" all)
+                  (string-append "#include <algorithm>\n" all)))
+               #t))))
        ((#:configure-flags flags)
         `(append (list "use_ozone=true"
                        "ozone_platform_wayland=true"



reply via email to

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