open-vm-tools: fixup build with glibc-2.25

This commit is contained in:
Vladimír Čunát 2017-02-22 16:54:07 +01:00
parent 7ccaa9e652
commit 1d1dc2dcc3
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am
sed -i 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' services/vmtoolsd/Makefile.am
sed -i 's,$(UDEVRULESDIR),''${prefix}/$(UDEVRULESDIR),' udev/Makefile.am
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
sed 1i'#include <sys/sysmacros.h>' -i lib/wiper/wiperPosix.c
'';
configureFlags = [ "--without-kernel-modules" "--without-xmlsecurity" ]