File u_fix-build-against-xserver-21_1.patch of Package xf86-video-qxl
diff -u -r -p xf86-video-qxl-0.1.5.orig/src/qxl_option_helpers.c xf86-video-qxl-0.1.5/src/qxl_option_helpers.c
--- xf86-video-qxl-0.1.5.orig/src/qxl_option_helpers.c 2021-11-01 10:09:58.218532674 +0000
+++ xf86-video-qxl-0.1.5/src/qxl_option_helpers.c 2021-11-01 10:16:54.442490320 +0000
@@ -34,7 +34,7 @@ int get_bool_option(OptionInfoPtr option
const char* value = getenv(env_name);
if (!value) {
- return options[option_index].value.bool;
+ return options[option_index].value.boolean;
}
if (strcmp(value, "0") == 0 ||
strcasecmp(value, "off") == 0 ||