From 269e0f14a9daae290c21c11833bd2b00f1644e59 Mon Sep 17 00:00:00 2001 From: Reza Jahanbakhshi Date: Wed, 17 Aug 2022 23:27:36 +0200 Subject: [PATCH] Forced usage of c++17 until upstream fix. --- .SRCINFO | 2 +- PKGBUILD | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a0bcddd..d5931ff 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = mesa-git pkgdesc = an open-source implementation of the OpenGL specification, git version - pkgver = 22.2.0_devel.157447.cb993654033a.d41d8cd98f00b204e9800998ecf8427e + pkgver = 22.3.0_devel.157974.50e6a80b5ea5.d41d8cd98f00b204e9800998ecf8427e pkgrel = 1 url = https://www.mesa3d.org arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index db9167a..943b924 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -12,7 +12,7 @@ pkgname=mesa-git pkgdesc="an open-source implementation of the OpenGL specification, git version" -pkgver=22.3.0_devel.157974.50e6a80b5ea5.d41d8cd98f00b204e9800998ecf8427e +pkgver=22.3.0_devel.158200.854e8797ac3b.d41d8cd98f00b204e9800998ecf8427e pkgrel=1 arch=('x86_64') makedepends=('git' 'python-mako' 'xorgproto' @@ -113,9 +113,12 @@ prepare() { done } +# cpp_std=c++17 can be removed once https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17966 is merged + build () { meson setup mesa _build \ -D b_ndebug=true \ + -D cpp_std=c++17 \ -D platforms=x11,wayland \ -D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,crocus,zink,d3d12 \ -D vulkan-drivers=amd,intel,swrast,virtio-experimental \