libpcap: fix missing remote-ext.h error

This commit is contained in:
rnhmjoj 2017-03-09 14:40:02 +01:00 committed by Tuomas Tynkkynen
parent 665a89c4a4
commit 4c33ea35b7

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, flex, bison }:
{ stdenv, fetchurl, fetchpatch, flex, bison }:
stdenv.mkDerivation rec {
name = "libpcap-1.8.1";
@ -21,6 +21,13 @@ stdenv.mkDerivation rec {
substituteInPlace configure --replace " -arch i386" ""
'';
patches = [
(fetchpatch {
url = "https://sources.debian.net/data/main/libp/libpcap/1.8.1-3/debian/patches/disable-remote.diff";
sha256 = "0dvjax9c0spvq8cdjnkbnm65wlzaml259yragf95kzg611vszfmj";
})
];
preInstall = ''mkdir -p $out/bin'';
crossAttrs = {