changeset 6244:8b434abc6fc1

mesa: update to v22.0.4 * src/mesa.mk: update checksum/version * src/mesa-2-ucrt.patch: update patch
author John Donoghue <john.donoghue@ieee.org>
date Fri, 27 May 2022 14:24:41 -0400
parents 30ba23fb640d
children 12ebc81237bc
files src/mesa-2-ucrt.patch src/mesa.mk
diffstat 2 files changed, 2 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/src/mesa-2-ucrt.patch	Fri May 27 14:24:40 2022 -0400
+++ b/src/mesa-2-ucrt.patch	Fri May 27 14:24:41 2022 -0400
@@ -3,17 +3,6 @@
 Date: Sat, 16 Oct 2021 16:50:46 -0700
 Subject: [PATCH] mesa: fixes for UCRT.
 
---- mesa-21.2.4/meson.build.orig	2021-10-16 16:02:38.021997300 -0700
-+++ mesa-21.2.4/meson.build	2021-10-16 16:03:24.287545400 -0700
-@@ -1046,8 +1046,6 @@
-       '-D_HAS_EXCEPTIONS=0', # Tell C++ STL to not use exceptions
-       '-DNOMINMAX',
-     ]
--  else
--    pre_args += ['-D__MSVCRT_VERSION__=0x0700']
-   endif
- elif host_machine.system() == 'openbsd'
-   pre_args += '-D_ISOC11_SOURCE'
 --- mesa-21.2.4/src/compiler/spirv/vtn_private.h.orig	2021-10-16 15:28:02.537761600 -0700
 +++ mesa-21.2.4/src/compiler/spirv/vtn_private.h	2021-10-16 15:28:05.959391400 -0700
 @@ -41,7 +41,7 @@
@@ -49,14 +38,3 @@
  /*
   * Remap atomic counters to SSBOs, starting from the shader's next SSBO slot
   * (info.num_ssbos).
---- mesa-21.2.4/src/gallium/drivers/swr/swr_fence.cpp.orig	2021-10-16 16:29:10.287533700 -0700
-+++ mesa-21.2.4/src/gallium/drivers/swr/swr_fence.cpp	2021-10-16 16:29:45.678206500 -0700
-@@ -29,7 +29,7 @@
- #include "swr_screen.h"
- #include "swr_fence.h"
- 
--#ifdef __APPLE__
-+#if defined(__APPLE__) || defined(__MINGW32__)
- #include <sched.h>
- #endif
- 
--- a/src/mesa.mk	Fri May 27 14:24:40 2022 -0400
+++ b/src/mesa.mk	Fri May 27 14:24:41 2022 -0400
@@ -2,8 +2,8 @@
 # See index.html for further information.
 
 PKG             := mesa
-$(PKG)_VERSION  := 21.3.8
-$(PKG)_CHECKSUM := a891cab170a5914cec3e8aa0a6f3ec0f490ab0e9
+$(PKG)_VERSION  := 22.0.4
+$(PKG)_CHECKSUM := 1176b18ab25596b551e7f0d1379b4b230e7ea666
 $(PKG)_SUBDIR   := mesa-$($(PKG)_VERSION)
 $(PKG)_FILE     := mesa-$($(PKG)_VERSION).tar.xz
 $(PKG)_URL      := ftp://ftp.freedesktop.org/pub/mesa/$($(PKG)_FILE)