aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/siege
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-09-22 14:32:33 -0500
committerWill Dietz <w@wdtz.org>2018-02-13 09:44:32 -0600
commitb4fa6da92bd7e2ca2290db0d442f20cc0c78ce91 (patch)
treeea38c2f0c9f236a21465bb1020b55e42c89d62d1 /pkgs/tools/networking/siege
parent4c767417ea6fe47a266359216e28f110f4f93db8 (diff)
siege: fixup u_int32_t here as well
Diffstat (limited to 'pkgs/tools/networking/siege')
-rw-r--r--pkgs/tools/networking/siege/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/networking/siege/default.nix b/pkgs/tools/networking/siege/default.nix
index 93fc28b48bf..cac3e3e6361 100644
--- a/pkgs/tools/networking/siege/default.nix
+++ b/pkgs/tools/networking/siege/default.nix
@@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl zlib ];
+ prePatch = ''
+ sed -i -e 's/u_int32_t/uint32_t/g' -e '1i#include <stdint.h>' src/hash.c
+ '';
+
configureFlags = [
"--with-ssl=${openssl.dev}"
"--with-zlib=${zlib.dev}"