Summary(pl.UTF-8): Sterownik obrazu X.org dla wirtualnych procesorów graficznych QXL
Name: xorg-driver-video-qxl
Version: 0.1.5
-Release: 3
+Release: 4
License: MIT
Group: X11/Applications
Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.bz2
# Source0-md5: addb686fce597a452eecd8d8f9fddf15
+Patch0: xserver-21.patch
URL: https://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%prep
%setup -q -n xf86-video-qxl-%{version}
+%patch0 -p1
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+ scripts/Xspice
%build
%{__libtoolize}
--- /dev/null
+--- xf86-video-qxl-0.1.5/src/qxl_option_helpers.c~ 2015-10-12 18:31:14.000000000 +0200
++++ xf86-video-qxl-0.1.5/src/qxl_option_helpers.c 2021-11-03 23:54:07.606993033 +0100
+@@ -34,7 +34,7 @@
+ 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 ||