vmware-11.0.3-vgahw.patch: Fix crash at start. (#801546)

This commit is contained in:
Adam Jackson 2012-03-12 10:55:32 -04:00
parent c36d41dd57
commit 7af07ab028
2 changed files with 17 additions and 1 deletions

11
vmware-11.0.3-vgahw.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up xf86-video-vmware-11.0.3/src/vmware.c.jx xf86-video-vmware-11.0.3/src/vmware.c
--- xf86-video-vmware-11.0.3/src/vmware.c.jx 2012-03-12 10:45:59.000000000 -0400
+++ xf86-video-vmware-11.0.3/src/vmware.c 2012-03-12 10:50:01.600735012 -0400
@@ -1142,6 +1142,7 @@ VMWAREModeInit(ScrnInfoPtr pScrn, Displa
vgaHWUnlock(hwp);
if (!vgaHWInit(pScrn, mode))
return FALSE;
+ vgaHWSetStdFuncs(VGAHWPTR(pScrn));
pScrn->vtSema = TRUE;
vmwareReg->svga_reg_enable = 1;

View File

@ -5,7 +5,7 @@
Summary: Xorg X11 vmware video driver
Name: xorg-x11-drv-vmware
Version: 11.0.3
Release: 13%{?dist}
Release: 14%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X Hardware Support
@ -14,6 +14,7 @@ Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
Patch0: vmware-11.0.3-abi12.patch
Patch1: vmware-11.0.3-unbreak-xinerama.patch
Patch2: vmware-11.0.3-vgahw.patch
ExclusiveArch: %{ix86} x86_64 ia64
@ -33,6 +34,7 @@ X.Org X11 vmware video driver.
%setup -q -n %{tarball}-%{version}
%patch0 -p1 -b .abi12
%patch1 -p1 -b .xin
%patch2 -p1 -b .vgahw
%build
%if 0%{?gitdate}
@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man4/vmware.4*
%changelog
* Mon Mar 12 2012 Adam Jackson <ajax@redhat.com> 11.0.3-14
- vmware-11.0.3-vgahw.patch: Fix crash at start. (#801546)
* Sat Feb 11 2012 Peter Hutterer <peter.hutterer@redhat.com> - 11.0.3-13
- ABI rebuild