sysmacros patch for glibc-2.25 (RHBZ#1411807).

This commit is contained in:
Ravindra Kumar 2017-02-16 18:31:07 -08:00
parent 0b8e82e474
commit 77f5f6c3af
2 changed files with 18 additions and 1 deletions

12
glibc-sysmacros.patch Normal file
View File

@ -0,0 +1,12 @@
--- lib/wiper/wiperPosix.c.orig 2017-02-16 18:24:11.857681456 -0800
+++ lib/wiper/wiperPosix.c 2017-02-16 18:25:04.057384238 -0800
@@ -30,6 +30,9 @@
#include <stdio.h>
#include <sys/stat.h>
#if defined(__linux__) || defined(sun)
+# if defined(__linux__)
+# include<sys/sysmacros.h>
+# endif
# include <sys/vfs.h>
#elif defined(__FreeBSD__) || defined(__APPLE__)
# include <sys/param.h>

View File

@ -28,7 +28,7 @@
Name: open-vm-tools Name: open-vm-tools
Version: %{toolsversion} Version: %{toolsversion}
Release: 9%{?dist} Release: 10%{?dist}
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
Group: Applications/System Group: Applications/System
License: GPLv2 License: GPLv2
@ -48,6 +48,7 @@ Patch1: no-unused-const.patch
Patch2: vmw-bitmask-gcc6.patch Patch2: vmw-bitmask-gcc6.patch
Patch3: hgfs-cache.patch Patch3: hgfs-cache.patch
Patch4: udev-rules.patch Patch4: udev-rules.patch
Patch5: glibc-sysmacros.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -133,6 +134,7 @@ VMware virtual machines.
%patch2 -p0 %patch2 -p0
%patch3 -p0 %patch3 -p0
%patch4 -p0 %patch4 -p0
%patch5 -p0
%build %build
mkdir -p udev mkdir -p udev
@ -309,6 +311,9 @@ fi
%{_libdir}/libvmtools.so %{_libdir}/libvmtools.so
%changelog %changelog
* Thu Feb 16 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.5-10
- sysmacros patch for glibc-2.25 (RHBZ#1411807).
* Thu Feb 16 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.5-9 * Thu Feb 16 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.0.5-9
- udev rules patch for longer SCSI timeouts (RHBZ#1214347). - udev rules patch for longer SCSI timeouts (RHBZ#1214347).