3
0
Fork 0
forked from mirrors/nixpkgs

iptraf: disable fortify hardening

This commit is contained in:
Robin Gloster 2016-08-04 07:40:02 +00:00
parent a2ce15318b
commit 56e69fcc0e

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "12n059j9iihhpf6spmlaspqzxz3wqan6kkpnhmlj08jdijpnk84m";
};
hardeningDisable = [ "format" ];
patchPhase = ''
sed -i -e 's,#include <linux/if_tr.h>,#include <netinet/if_tr.h>,' src/*
'';