diff --git a/glibc-sysmacros.patch b/glibc-sysmacros.patch new file mode 100644 index 0000000..546b526 --- /dev/null +++ b/glibc-sysmacros.patch @@ -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 + #include + #if defined(__linux__) || defined(sun) ++# if defined(__linux__) ++# include ++# endif + # include + #elif defined(__FreeBSD__) || defined(__APPLE__) + # include diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 14ec731..4f46f85 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -28,7 +28,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 9%{?dist} +Release: 10%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 @@ -48,6 +48,7 @@ Patch1: no-unused-const.patch Patch2: vmw-bitmask-gcc6.patch Patch3: hgfs-cache.patch Patch4: udev-rules.patch +Patch5: glibc-sysmacros.patch BuildRequires: autoconf BuildRequires: automake @@ -133,6 +134,7 @@ VMware virtual machines. %patch2 -p0 %patch3 -p0 %patch4 -p0 +%patch5 -p0 %build mkdir -p udev @@ -309,6 +311,9 @@ fi %{_libdir}/libvmtools.so %changelog +* Thu Feb 16 2017 Ravindra Kumar - 10.0.5-10 +- sysmacros patch for glibc-2.25 (RHBZ#1411807). + * Thu Feb 16 2017 Ravindra Kumar - 10.0.5-9 - udev rules patch for longer SCSI timeouts (RHBZ#1214347).