tcpkali: fix build w/glibc-2.32

gstqt5
Maximilian Bosch 2020-08-10 22:26:45 +02:00
parent 5f5ff55623
commit 7f02eca8cc
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "09ky3cccaphcqc6nhfs00pps99lasmzc2pf5vk0gi8hlqbbhilxf";
};
postPatch = ''
sed -ie '/sys\/sysctl\.h/d' src/tcpkali_syslimits.c
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ bison];
meta = {