iptraf: disable fortify hardening
This commit is contained in:
parent
a2ce15318b
commit
56e69fcc0e
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "12n059j9iihhpf6spmlaspqzxz3wqan6kkpnhmlj08jdijpnk84m";
|
sha256 = "12n059j9iihhpf6spmlaspqzxz3wqan6kkpnhmlj08jdijpnk84m";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's,#include <linux/if_tr.h>,#include <netinet/if_tr.h>,' src/*
|
sed -i -e 's,#include <linux/if_tr.h>,#include <netinet/if_tr.h>,' src/*
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user