3
0
Fork 0
forked from mirrors/nixpkgs

get iptraf to compile

This commit is contained in:
Florian Friesdorf 2013-03-24 14:43:20 +01:00
parent 98860f429d
commit c93aebb87e

View file

@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "0qsi5f8d84mgdszvz22acyv6mjnbrpk55d54km9i5mkkapck7r4y";
};
patchPhase = ''
sed -i -e 's,#include <linux/if_tr.h>,#include <netinet/if_tr.h>,' src/*
'';
preConfigure = "cd src";
installPhase = ''