File mesa-rusticl-disable.patch of Package mesa

--- meson.build.orig	2025-12-04 12:23:04.889929294 +0200
+++ meson.build	2025-12-04 12:24:15.223928830 +0200
@@ -767,8 +767,9 @@
   # .gitlab-ci/container/build-rust.sh and the `rustup default` line in
   # .gitlab-ci/meson/build.sh
   if rustc.version().version_compare('< 1.82')
-    error('Mesa requires Rust 1.82.0 or newer')
-  endif
+    message('Rust too old (' + rustc.version() + '), disabling Rusticl')
+    rusticl_enabled = false
+endif
 
   # bindgen 0.71 is the first version that knows about `editions`
   bindgen_version = find_program('bindgen').version()
openSUSE Build Service is sponsored by