diff options
author | Matt Turner <mattst88@gentoo.org> | 2018-11-09 15:30:15 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2018-11-09 15:32:22 -0800 |
commit | 59c06ef2ca463bb033bec7aaac3ea6c6404d94e9 (patch) | |
tree | 0f45c23cb4509282a754d1e8c6faa14d4a25664a /media-libs | |
parent | dev-lua/lua-openssl: remove old ebuild. (diff) | |
download | gentoo-59c06ef2ca463bb033bec7aaac3ea6c6404d94e9.tar.gz gentoo-59c06ef2ca463bb033bec7aaac3ea6c6404d94e9.tar.bz2 gentoo-59c06ef2ca463bb033bec7aaac3ea6c6404d94e9.zip |
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>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/mesa/files/mesa-18.2.4-meson-fix-libatomic-tests.patch | 13 | ||||
-rw-r--r-- | media-libs/mesa/mesa-18.2.4.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/media-libs/mesa/files/mesa-18.2.4-meson-fix-libatomic-tests.patch b/media-libs/mesa/files/mesa-18.2.4-meson-fix-libatomic-tests.patch new file mode 100644 index 000000000000..d8709eae8f72 --- /dev/null +++ b/media-libs/mesa/files/mesa-18.2.4-meson-fix-libatomic-tests.patch @@ -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? diff --git a/media-libs/mesa/mesa-18.2.4.ebuild b/media-libs/mesa/mesa-18.2.4.ebuild index dbdf7d53042b..a955d518e070 100644 --- a/media-libs/mesa/mesa-18.2.4.ebuild +++ b/media-libs/mesa/mesa-18.2.4.ebuild @@ -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() { |