fix sw_64 build error
(cherry picked from commit e704fe534f799bc9f8975392099cd60adcacfa00)
This commit is contained in:
parent
c9ef548e9c
commit
3de840cf96
24
0003-fix-CARD.patch
Normal file
24
0003-fix-CARD.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From dbae35405af8e350641e524a1140c670e5799c15 Mon Sep 17 00:00:00 2001
|
||||
From: mahailiang <mahailiang@uniontech.com>
|
||||
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 <spice.h>
|
||||
#endif
|
||||
|
||||
+#include "X11/Xproto.h"
|
||||
#include "compiler.h"
|
||||
#include "xf86.h"
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@ -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 <mahailiang@uniontech.com> - 0.1.6-2
|
||||
- fix sw_64 build error
|
||||
|
||||
* Sat Jan 28 2023 Chenxi Mao <chenxi.mao@suse.com> - 0.1.6-1
|
||||
- Upgrade to 0.1.6
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user