xorg.xf86videoqxl: patch build after `bool` rename

main
Vladimír Čunát 3 years ago
parent 0649fcdf26
commit a7f2cd867a
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 10
      pkgs/servers/x11/xorg/overrides.nix

@ -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 ];
});

Loading…
Cancel
Save