diff --git a/x11/library/mesa/actions.py b/x11/library/mesa/actions.py
index ddc38da1e5..eb06bfa96d 100644
--- a/x11/library/mesa/actions.py
+++ b/x11/library/mesa/actions.py
@@ -12,7 +12,6 @@ libdir = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
def setup():
options = "--buildtype=release \
- -Dclang-libdir-path=%s \
-Ddri-drivers-path=%s/xorg/modules/dri \
-Db_ndebug=true \
-Dplatforms=x11,wayland \
@@ -35,7 +34,6 @@ def setup():
-Dglx=dri \
-Degl=enabled \
-Dglvnd=true \
- -Dasm=true \
-Dllvm=enabled \
-Dvalgrind=enabled \
-Dlibunwind=enabled \
@@ -43,10 +41,10 @@ def setup():
-Dosmesa=true \
-Dswr-arches=avx,avx2 \
-Dgallium-opencl=icd \
- " % ((libdir, ) * 2)
+ " % (libdir)
if get.buildTYPE() == "emul32":
- options += " -Dlmsensors=disabled --native-file crossfile.ini -Dllvm_libdir=/usr/lib32 -Dzstd=disabled"
+ options += " -Dlmsensors=disabled --native-file crossfile.ini -Dzstd=disabled"
#shelltools.export("CC", "clang -m32")
#shelltools.export("CXX", "clang++ -m32")
pisitools.cflags.add("-m32 ")
diff --git a/x11/library/mesa/pspec.xml b/x11/library/mesa/pspec.xml
index a7f782b2f5..3a07c614ac 100644
--- a/x11/library/mesa/pspec.xml
+++ b/x11/library/mesa/pspec.xml
@@ -13,7 +13,7 @@
app:console
Mesa graphics libraries and utilities
Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics.
- https://archive.mesa3d.org//mesa-21.3.0.tar.xz
+ https://archive.mesa3d.org//mesa-21.3.1.tar.xz
meson
valgrind
@@ -245,6 +245,13 @@
+
+ 2021-12-02
+ 21.3.1
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-11-18
21.3.0