Accepting request 1093519 from home:XRevan86

OBS-URL: https://build.opensuse.org/request/show/1093519
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1214
This commit is contained in:
Stefan Dirsch 2023-06-17 07:08:42 +00:00 committed by Git OBS Bridge
parent e14148cf3f
commit c9d6369808
4 changed files with 28 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jun 16 15:59:56 UTC 2023 - Alexei Sorokin <sor.alexei@meowr.ru>
- Add patch u_fix-glx-context-opengl-4.5.patch: Fix a regression
that causes Wine to crash on GPUs that don't support OpenGL 4.6
and later.
- Add intel_hasvk icd to baselibs.conf.
-------------------------------------------------------------------
Fri Jun 16 12:48:49 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -130,8 +130,8 @@ License: MIT
Group: System/Libraries
URL: https://www.mesa3d.org
#Git-Clone: git://anongit.freedesktop.org/mesa/mesa
Source: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz
Source1: https://mesa.freedesktop.org/archive/%{_name_archive}-%{_version}.tar.xz.sig
Source: https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz
Source1: https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz.sig
Source2: baselibs.conf
Source3: README.updates
Source4: manual-pages.tar.bz2
@ -145,6 +145,7 @@ Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
Patch200: u_fix-build-on-ppc64le.patch
Patch400: n_stop-iris-flicker.patch
Patch600: U_glx-Remove-pointless-GLX_INTEL_swap_event-paranoia.patch
Patch800: u_fix-glx-context-opengl-4.5.patch
%ifarch %{ix86} x86_64
BuildRequires: DirectX-Headers
%endif
@ -781,6 +782,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%patch400 -p1
# reverse apply to fix a regression (boo#1209005)
%patch600 -p1 -R
%patch800 -p1
# Remove requires to vulkan libs from baselibs.conf on platforms
# where vulkan build is disabled; ugly ...

View File

@ -75,9 +75,13 @@ Mesa-libd3d-devel
requires "Mesa-libd3d-<targettype> = <version>"
libvulkan_intel
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_icd.*.json
targetarch aarch64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_icd.*.json
targetarch ppc64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_icd.*.json
targetarch ppc64le +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_icd.*.json
targetarch x86_64 +/usr/share/vulkan/icd.d/intel_hasvk_icd.*.json
requires "Mesa-vulkan-device-select-<targettype> = <version>"
provides "Mesa-libVulkan-devel-<targettype> = 22.0.0"
obsoletes "Mesa-libVulkan-devel-<targettype> < 22.0.0"

View File

@ -0,0 +1,12 @@
--- a/src/glx/create_context.c
+++ b/src/glx/create_context.c
@@ -115,6 +115,9 @@ glXCreateContextAttribsARB(Display *dpy,
#endif
if (gc == NULL) {
+ /* increment dpy->request in order to give a unique serial number to the
+ * error */
+ XNoOp(dpy);
/* -1 isn't a legal XID, which is sort of the point, we've failed
* before we even got to XID allocation.
*/