dev-util/gnome-builder: fix build with clang

Bug: https://bugs.gentoo.org/884067
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2023-11-05 00:54:03 +02:00
parent 82d3a76e12
commit 06adafadab

View File

@@ -135,6 +135,13 @@ pkg_setup() {
use clang && llvm_pkg_setup
}
src_prepare() {
default
# Fails with clang due to `environ` variable name shadowing unistd.h one
sed -i -e '/-Werror=shadow/d' meson.build || die
}
src_configure() {
local emesonargs=(
-Dchannel=other