From be2f68b7219978b1c631863b4424aa496fe5fc86 Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sat, 5 Oct 2019 00:31:33 +0300 Subject: [PATCH] temp/mesa-git: fix build with --strict (!659) For llvm8-dev llvm-config executable is no longer in PATH (it is in PATH now for llvm9-dev) and now it is in /usr/lib/llvm8/bin/llvm-config, so it is more reliable to adjust $PATH before calling meson build. It will work for all past, current and future llvm versions. Fixes 90d3deb7b4f5f1801f09251b981f84adc7b5817e [ci:skip-build]: already built successfully in CI --- temp/mesa-git/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/temp/mesa-git/APKBUILD b/temp/mesa-git/APKBUILD index e1edfe335..82be0cb1a 100644 --- a/temp/mesa-git/APKBUILD +++ b/temp/mesa-git/APKBUILD @@ -9,7 +9,7 @@ # conflicts pkgname=mesa-git pkgver=0_git20191002 -pkgrel=0 +pkgrel=1 _commit="2236cf24a74a40fd0a423c08ad778ea853bb1c1c" pkgdesc="(Git) Mesa DRI OpenGL library" url="https://www.mesa3d.org" @@ -111,6 +111,7 @@ build() { cd "$builddir" export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700" + export PATH=/usr/lib/llvm${_llvmver}/bin:$PATH meson \ --prefix=/usr \ --sysconfdir=/etc \