mesa: fixup build after rust-bindgen update

This commit is contained in:
Vladimír Čunát 2023-04-28 08:20:15 +02:00
parent 0872ce03f2
commit 307c3bdd0f
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -145,6 +145,11 @@ self = stdenv.mkDerivation {
"get_option('datadir')" "'${placeholder "out"}/share'"
substituteInPlace src/amd/vulkan/meson.build --replace \
"get_option('datadir')" "'${placeholder "out"}/share'"
''
# TODO: can be removed >= 23.0.4 (most likely)
# https://gitlab.freedesktop.org/mesa/mesa/-/commit/035aa34ed5eb418339c0e2d2
+ ''
sed '/--size_t-is-usize/d' -i src/gallium/frontends/rusticl/meson.build
'';
outputs = [ "out" "dev" "drivers" ]