me
/
guix
Archived
1
0
Fork 0

gnu: ungoogled-chromium-wayland: Fix build.

* gnu/packages/chromium.scm (ungoogled-chromium/wayland)[arguments]: Add #:phases.
master
Marius Bakke 2020-02-25 16:14:54 +01:00
parent d64584cfb3
commit bfce33cdff
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 10 additions and 0 deletions

View File

@ -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"