Skip to content

Commit

Permalink
libpcap: fix missing remote-ext.h error
Browse files Browse the repository at this point in the history
  • Loading branch information
rnhmjoj authored and dezgeg committed Mar 9, 2017
1 parent 665a89c commit 4c33ea3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/development/libraries/libpcap/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, flex, bison }:
{ stdenv, fetchurl, fetchpatch, flex, bison }:

stdenv.mkDerivation rec {
name = "libpcap-1.8.1";
Expand All @@ -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 = {
Expand Down

0 comments on commit 4c33ea3

Please sign in to comment.