Compare commits

..

No commits in common. "8f977e95edb98ea2756d896661911bb5224cc3b4" and "c54d7f77a334e471731b94e6fa2c5dde2128b27d" have entirely different histories.

5 changed files with 36 additions and 30 deletions

View File

@ -0,0 +1,32 @@
From 7e5237dd08f2a469d0bc699cbcde763cc93c7407 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 7 Nov 2017 15:42:59 -0500
Subject: [PATCH xf86-video-vmware] saa: Build compatibility with xserver 1.20
fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL
and we'll do the right thing.
Signed-off-by: Adam Jackson <ajax@redhat.com>
---
saa/saa.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/saa/saa.c b/saa/saa.c
index be9520e..d956853 100644
--- a/saa/saa.c
+++ b/saa/saa.c
@@ -370,6 +370,11 @@ saa_op_reads_destination(CARD8 op)
}
}
+/* compatibility with xserver >= 1.20 */
+#ifndef fbGetRotatedPixmap
+#define fbGetRotatedPixmap(pGC) NULL
+#endif
+
static void
saa_validate_gc(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
{
--
2.16.2

Binary file not shown.

Binary file not shown.

View File

@ -4,12 +4,14 @@
%undefine _hardened_build
Name: xorg-x11-drv-vmware
Version: 13.4.0
Version: 13.2.1
Release: 1
Summary: Xorg X11 vmware video driver
License: MIT
URL: http://www.x.org
Source0: https://ftp.x.org/pub/individual/driver/xf86-video-vmware-%{version}.tar.xz
Source0: ftp://ftp.x.org/pub/individual/driver/xf86-video-vmware-%{version}.tar.bz2
Patch0: 0001-saa-Build-compatibility-with-xserver-1.20.patch
ExclusiveArch: %{ix86} x86_64 ia64
@ -49,29 +51,5 @@ autoreconf -v --install || exit 1
%{_mandir}/man4/vmware.4*
%changelog
* Sat Jan 28 2023 Chenxi Mao <chenxi.mao@suse.com> - 13.4.0-1
- Type:update
- ID:NA
- SUG:NA
- DESC: upgrade to 13.4.0
* Mon Oct 24 2022 zhouyihang <zhouyihang3@h-partners.com> - 13.3.0-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:vmwgfx fix missing array notation
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 13.3.0-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update source url
* Wed Jul 29 2020 lunankun <lunankun@huawei.com> - 13.3.0-1
- Type:update
- ID:NA
- SUG:restart
- DESC:update to xorg-x11-drv-vmware-13.3.0
* Tue Mar 10 2020 hexiujun <hexiujun1@huawei.com> - 13.2.1-1
- Package init

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: https://gitlab.freedesktop.org/xorg/driver/xf86-video-vmware.git
tag_prefix: xf86-video-vmware-
seperator: .