xorg.xf86videoqxl: patch build after bool rename

This commit is contained in:
Vladimír Čunát 2021-11-24 09:48:25 +01:00
parent 0649fcdf26
commit a7f2cd867a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -452,6 +452,16 @@ self: super:
});
xf86videoqxl = super.xf86videoqxl.overrideAttrs (attrs: {
# https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/issues/12
postPatch = ''
patch -p1 <<EOF
--- a/src/qxl_option_helpers.c
+++ b/src/qxl_option_helpers.c
@@ -37 +37 @@
- return options[option_index].value.bool;
+ return options[option_index].value.boolean;
EOF
'';
buildInputs = attrs.buildInputs ++ [ spice-protocol ];
});