mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
xorg.xf86videoqxl: patch build after bool
rename
This commit is contained in:
parent
0649fcdf26
commit
a7f2cd867a
@ -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…
Reference in New Issue
Block a user