aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/chromium.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-02-25 16:14:54 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-02-25 18:35:33 +0100
commitbfce33cdff32ec9bbe163bbf7270fe7477e4fdde (patch)
treedbfe682a1c95c05304c59c33a4ec59d4335e5145 /gnu/packages/chromium.scm
parentd64584cfb3f1d95749c9e3605a6e1079137a2e42 (diff)
downloadguix-bfce33cdff32ec9bbe163bbf7270fe7477e4fdde.tar
guix-bfce33cdff32ec9bbe163bbf7270fe7477e4fdde.tar.gz
gnu: ungoogled-chromium-wayland: Fix build.
* gnu/packages/chromium.scm (ungoogled-chromium/wayland)[arguments]: Add #:phases.
Diffstat (limited to 'gnu/packages/chromium.scm')
-rw-r--r--gnu/packages/chromium.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 5697c80ed1..ae7691d26c 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"