summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/farpd/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-07 09:54:10 +0200
committertv <tv@krebsco.de>2016-08-07 09:54:10 +0200
commit3288d6848f774e00a5fbc2ba060f2df695af8e55 (patch)
tree971a8ae4fd7b64d2c5b9374d6707d7dc2bb79beb /makefu/5pkgs/farpd/default.nix
parent3a760096f6b3b49d4bf32465c860ccfd23d174fa (diff)
parentcbf66556afed7220bc95d1716f06cede5a7a8b09 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/farpd/default.nix')
-rw-r--r--makefu/5pkgs/farpd/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefu/5pkgs/farpd/default.nix b/makefu/5pkgs/farpd/default.nix
index d58066ee..d1640001 100644
--- a/makefu/5pkgs/farpd/default.nix
+++ b/makefu/5pkgs/farpd/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
libpcap
libdnet
pcre
- libevent
+ libevent.out # requires .so and .h
readline
autoconf
libtool
@@ -27,7 +27,10 @@ stdenv.mkDerivation rec {
pythonPackages.sqlite3
];
patches = [
- ./farpd_0.2-11.diff
+ ( fetchurl {
+ url = https://launchpad.net/ubuntu/+archive/primary/+files/farpd_0.2-11.diff.gz;
+ sha256 = "2c246b37de8aab9c73f955fb77101adefd90637d03f582b9f8ffae2903af2f94";
+ })
];
# removes user install script from Makefile before automake
#patches = [ ./autoconf.patch ];
@@ -35,6 +38,7 @@ stdenv.mkDerivation rec {
autoreconf -fi
substituteInPlace configure \
+ --replace "dumbnet" "dnet" \
--replace "libpcap.a" "libpcap.so" \
--replace "libevent.a" "libevent.so" \
--replace "net/bpf.h" "pcap/bpf.h"