- Update to Mesa 23.2.0-rc4

--> https://lists.freedesktop.org/archives/mesa-announce/2023-September/000731.html
- supersedes U_llvmpipe-only-include-old-Transform-includes-when-ne.patch
- disabled u_fix-build-on-ppc64le.patch (no longer needed?)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1233
This commit is contained in:
Stefan Dirsch 2023-09-25 11:14:02 +00:00 committed by Git OBS Bridge
parent d10b89477c
commit 62b4edf2d0
7 changed files with 14 additions and 49 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Sep 25 09:46:58 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to Mesa 23.2.0-rc4
--> https://lists.freedesktop.org/archives/mesa-announce/2023-September/000731.html
- supersedes U_llvmpipe-only-include-old-Transform-includes-when-ne.patch
- disabled u_fix-build-on-ppc64le.patch (no longer needed?)
-------------------------------------------------------------------
Thu Sep 21 15:13:11 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -42,7 +42,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 23.1.8
%define _version 23.2.0-rc4
%define with_opencl 0
%define with_rusticl 0
%define with_vulkan 0
@ -123,7 +123,7 @@
%endif
Name: Mesa%{psuffix}
Version: 23.1.8
Version: 23.2.0
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -139,7 +139,6 @@ Source6: Mesa-rpmlintrc
Source7: Mesa.keyring
Patch2: n_add-Mesa-headers-again.patch
# Patches for LLVM 17, should all be in 23.2.
Patch3: U_llvmpipe-only-include-old-Transform-includes-when-ne.patch
Patch4: U_clover-llvm-move-to-modern-pass-manager.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
@ -773,7 +772,6 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2}
%patch2 -p1
%patch3 -p1
%patch4 -p1
# no longer needed since gstreamer-plugins-vaapi 1.18.4
%if 0%{?suse_version} < 1550
@ -781,7 +779,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%endif
%patch58 -p1
%patch100 -p1
%patch200 -p1
#%patch200 -p1
%patch400 -p1
# Remove requires to vulkan libs from baselibs.conf on platforms

View File

@ -1,41 +0,0 @@
From 9ba416cdc67073cdda9a73fe9d37304b82bdd526 Mon Sep 17 00:00:00 2001
From: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Date: Fri, 12 May 2023 09:58:26 +0200
Subject: [PATCH] llvmpipe: only include old Transform includes when needed
This fixes building with recent LLVM where these 2 .h files
were removed.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8671
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22980>
---
src/gallium/auxiliary/gallivm/lp_bld_init.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index 24d082398e9..9e0d6a5f643 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -42,14 +42,14 @@
#include <llvm/Config/llvm-config.h>
#include <llvm-c/Analysis.h>
-#include <llvm-c/Transforms/Scalar.h>
-#if LLVM_VERSION_MAJOR >= 7
-#include <llvm-c/Transforms/Utils.h>
-#endif
#include <llvm-c/BitWriter.h>
#if GALLIVM_USE_NEW_PASS == 1
#include <llvm-c/Transforms/PassBuilder.h>
#elif GALLIVM_HAVE_CORO == 1
+#include <llvm-c/Transforms/Scalar.h>
+#if LLVM_VERSION_MAJOR >= 7
+#include <llvm-c/Transforms/Utils.h>
+#endif
#if LLVM_VERSION_MAJOR <= 8 && (DETECT_ARCH_AARCH64 || DETECT_ARCH_ARM || DETECT_ARCH_S390 || DETECT_ARCH_MIPS64)
#include <llvm-c/Transforms/IPO.h>
#endif
--
2.42.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45434ff91a709844130a3174d9c0ef39c6b50725b2bb0c13e736f36134db14ad
size 18566724

Binary file not shown.

3
mesa-23.2.0-rc4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c11fefbff7b6a992ec95b5764133101ad41052c8e0217829150383b74ea3085
size 18844408

BIN
mesa-23.2.0-rc4.tar.xz.sig Normal file

Binary file not shown.