strongswan: fixup includes with glibc-2.26

This commit is contained in:
Vladimír Čunát 2017-11-07 16:40:12 +01:00
parent 6ffafc78fb
commit 0f8c85d5d0
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
# the configuration files. In the absence of that we patch swanctl to look
# for configuration files in /etc/swanctl.
substituteInPlace src/swanctl/swanctl.h --replace "SWANCTLDIR" "\"/etc/swanctl\""
# glibc-2.26 reorganized internal includes
sed '1i#include <stdint.h>' -i src/libstrongswan/utils/utils/memory.h
'';
preConfigure = ''