ResolutionKMS patch for Wayland (RHBZ#1292234).

This commit is contained in:
Ravindra Kumar 2017-04-02 01:31:16 -07:00
parent 0f172c63ab
commit adf1c8e6c8
2 changed files with 2292 additions and 1 deletions

View File

@ -28,7 +28,7 @@
Name: open-vm-tools
Version: %{toolsversion}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
Group: Applications/System
License: GPLv2
@ -43,6 +43,7 @@ ExclusiveArch: %{ix86} x86_64
%endif
Patch1: glibc-sysmacros.patch
Patch2: resolutionKMS-wayland.patch
BuildRequires: autoconf
BuildRequires: automake
@ -83,11 +84,13 @@ BuildRequires: xmlsec1-openssl-devel
Requires: coreutils
Requires: fuse
Requires: libdrm
Requires: net-tools
Requires: grep
Requires: pciutils
Requires: sed
Requires: systemd
Requires: systemd-libs
Requires: tar
Requires: which
# xmlsec1-openssl needs to be added explicitly
@ -128,6 +131,7 @@ VMware virtual machines.
%prep
%setup -q -n %{name}-%{version}-%{toolsbuild}
%patch1 -p0
%patch2 -p1
%build
# Required for regenerating configure script when
@ -138,6 +142,7 @@ autoconf
%configure \
--without-kernel-modules \
--enable-xmlsec1 \
--enable-resolutionkms \
--disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags}
@ -297,6 +302,9 @@ fi
%{_libdir}/libvmtools.so
%changelog
* Sun Apr 02 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.1.5-4
- ResolutionKMS patch for Wayland (RHBZ#1292234).
* Thu Mar 16 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.1.5-3
- Need to add xmlsec1-openssl dependency explicitly.

2283
resolutionKMS-wayland.patch Normal file

File diff suppressed because it is too large Load Diff