media-libs/mesa: Add patch to fix typo in meson.build

Fixes build failures on at least ppc and sparc. Patch should be in
18.2.5 and 18.3.0.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2018-11-09 15:32:22 -08:00
parent 15b72e6828
commit 59c06ef2ca
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/meson.build b/meson.build
index 690e7d3d8aa..fb08e905ebd 100644
--- a/meson.build
+++ b/meson.build
@@ -906,7 +906,7 @@ if not cc.links('''#include <stdint.h>
return __sync_add_and_fetch(&v, (uint64_t)1);
}''',
name : 'GCC 64bit atomics')
- pre_args += '-DMISSING_64_BIT_ATOMICS'
+ pre_args += '-DMISSING_64BIT_ATOMICS'
endif
# TODO: shared/static? Is this even worth doing?
+1
View File
@@ -233,6 +233,7 @@ x86? (
PATCHES=(
"${FILESDIR}"/${P}-meson-link-gallium-nine-with-pthreads.patch
"${FILESDIR}"/${P}-meson-fix-libatomic-tests.patch
)
llvm_check_deps() {