diff --git a/0003-fix-CARD.patch b/0003-fix-CARD.patch new file mode 100644 index 0000000..adbf7a4 --- /dev/null +++ b/0003-fix-CARD.patch @@ -0,0 +1,24 @@ +From dbae35405af8e350641e524a1140c670e5799c15 Mon Sep 17 00:00:00 2001 +From: mahailiang +Date: Mon, 25 Nov 2024 19:28:40 +0800 +Subject: [PATCH] fix CARD + +--- + src/qxl.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/qxl.h b/src/qxl.h +index bfc3b0d..fc5d889 100644 +--- a/src/qxl.h ++++ b/src/qxl.h +@@ -30,6 +30,7 @@ + #include + #endif + ++#include "X11/Xproto.h" + #include "compiler.h" + #include "xf86.h" + #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 +-- +2.20.1 + diff --git a/xorg-x11-drv-qxl.spec b/xorg-x11-drv-qxl.spec index ada559b..d2fd8c7 100644 --- a/xorg-x11-drv-qxl.spec +++ b/xorg-x11-drv-qxl.spec @@ -2,13 +2,14 @@ Name: xorg-x11-drv-qxl Version: 0.1.6 -Release: 1 +Release: 2 Summary: Qxl video driver for the X Window System License: MIT URL: http://www.x.org Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-qxl-%{version}.tar.xz Patch0001: 0001-worst-hack-of-all-time-to-qxl-driver.patch Patch0002: 0002-Xspice-Adjust-shebang-to-explicitly-mention-python3.patch +Patch0003: 0003-fix-CARD.patch BuildRequires: pkgconfig git-core xorg-x11-server-devel >= 1.1.0-1 spice-protocol >= 0.12.1 BuildRequires: libdrm-devel >= 2.4.46-1 spice-server-devel >= 0.8.0 glib2-devel @@ -51,6 +52,9 @@ install -Dp -m644 examples/spiceqxl.xorg.conf.example $RPM_BUILD_ROOT%{_sysconfd %(pkg-config xorg-server --variable=moduledir)/drivers/spiceqxl_drv.so %changelog +* Fri Mar 07 2025 mahailiang - 0.1.6-2 +- fix sw_64 build error + * Sat Jan 28 2023 Chenxi Mao - 0.1.6-1 - Upgrade to 0.1.6