mesa-demos-x11: patch to use mesa-x11

This commit is contained in:
Jeremy Soller 2025-05-06 16:04:14 -06:00
parent bc4d9dabe5
commit 5b759bf769
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
2 changed files with 12 additions and 1 deletions

View File

@ -1,11 +1,11 @@
[source]
tar = "https://archive.mesa3d.org/demos/mesa-demos-9.0.0.tar.xz"
blake3 = "eef628aebdaa65d3bb1078bb6d6bdd7685c41fb67674e7f7b0e1e15f10433240"
patches = ["redox.patch"]
[build]
dependencies = [
"libpthread-stubs",
"libglvnd",
"libstdcxx",
"libx11",
"libxau",

View File

@ -0,0 +1,11 @@
--- mesa-demos-9.0.0/meson.build 2023-03-22 06:13:43.000000000 -0600
+++ source/meson.build 2025-05-06 15:58:57.523274337 -0600
@@ -99,7 +99,7 @@
endif
dep_glx = dependency('glx', required: false, disabler : true)
-if not dep_glx.found() and host_machine.system() == 'darwin'
+if not dep_glx.found()
# xquartz doesn't have a glx.pc, but it does have the header. And all the
# symbols reside in libGL, so let's just use that.
if cc.check_header('GL/glx.h', dependencies: dep_x11)