mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
mesa: rebuild against llvm10
This commit is contained in:
parent
a07742ad11
commit
eb97f55c40
2 changed files with 15 additions and 2 deletions
13
srcpkgs/mesa/patches/clover-ppc64-cpp14.patch
Normal file
13
srcpkgs/mesa/patches/clover-ppc64-cpp14.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
LLVM10 headers need C++14, so override the override.
|
||||||
|
|
||||||
|
--- meson.build
|
||||||
|
+++ meson.build
|
||||||
|
@@ -730,7 +730,7 @@ if _opencl != 'disabled'
|
||||||
|
#error "AltiVec not enabled"
|
||||||
|
#endif''',
|
||||||
|
name : 'Altivec')
|
||||||
|
- clover_cpp_std += ['cpp_std=gnu++11']
|
||||||
|
+ clover_cpp_std += ['cpp_std=gnu++14']
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
dep_clc = null_dep
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'mesa'
|
# Template file for 'mesa'
|
||||||
pkgname=mesa
|
pkgname=mesa
|
||||||
version=20.0.6
|
version=20.0.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mesa-${version}"
|
wrksrc="mesa-${version}"
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
|
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
|
||||||
-Dosmesa=gallium -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
|
-Dosmesa=gallium -Dgles1=true -Dgles2=true -Dglx=dri -Ddri3=true
|
||||||
-Dlmsensors=true -Dplatforms=x11,drm,$(vopt_if wayland wayland),surfaceless
|
-Dlmsensors=true -Dplatforms=x11,drm,$(vopt_if wayland wayland),surfaceless
|
||||||
-Dllvm=true -Db_lto=false"
|
-Dllvm=true -Db_lto=false -Dcpp_std=gnu++14"
|
||||||
hostmakedepends="gettext flex libxml2-python llvm pkg-config
|
hostmakedepends="gettext flex libxml2-python llvm pkg-config
|
||||||
python3-Mako $(vopt_if wayland 'wayland-protocols wayland-devel')
|
python3-Mako $(vopt_if wayland 'wayland-protocols wayland-devel')
|
||||||
glslang"
|
glslang"
|
||||||
|
|
Loading…
Add table
Reference in a new issue