diff --git a/recipes/wip/x11/mesa-demos-x11/recipe.toml b/recipes/wip/x11/mesa-demos-x11/recipe.toml index 8ee4c7770..9d8e99ee9 100644 --- a/recipes/wip/x11/mesa-demos-x11/recipe.toml +++ b/recipes/wip/x11/mesa-demos-x11/recipe.toml @@ -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", diff --git a/recipes/wip/x11/mesa-demos-x11/redox.patch b/recipes/wip/x11/mesa-demos-x11/redox.patch new file mode 100644 index 000000000..cdfa48e65 --- /dev/null +++ b/recipes/wip/x11/mesa-demos-x11/redox.patch @@ -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)