diff options
author | Mart Raudsepp <leio@gentoo.org> | 2023-11-05 00:54:03 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2023-11-05 01:03:08 +0200 |
commit | 06adafadabc4cdf801afeedede5be177f4845b52 (patch) | |
tree | 4c172b03e9fca53acd785ea480679c939198cc42 /dev-util/gnome-builder | |
parent | dev-util/d-spy: keyword 1.8.0 for ~arm64 (diff) | |
download | gentoo-06adafadabc4cdf801afeedede5be177f4845b52.tar.gz gentoo-06adafadabc4cdf801afeedede5be177f4845b52.tar.bz2 gentoo-06adafadabc4cdf801afeedede5be177f4845b52.zip |
dev-util/gnome-builder: fix build with clang
Bug: https://bugs.gentoo.org/884067
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-util/gnome-builder')
-rw-r--r-- | dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild b/dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild index db928e14dac0..5921c2c1c0d0 100644 --- a/dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild +++ b/dev-util/gnome-builder/gnome-builder-44.2-r1.ebuild @@ -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 |