summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/farpd/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-08-04 19:55:54 +0200
committerlassulus <lass@aidsballs.de>2016-08-04 19:55:54 +0200
commit6696a9f09846adcc059a29566c949afc518b7574 (patch)
tree828d8b23a9edda2c0f9b8bae7ed3f76e7d1075a7 /makefu/5pkgs/farpd/default.nix
parent8d209efd0a812694d5547b1b2ba7f96f21db91d3 (diff)
parentcba2979f860e3b55f82c58883bac84ceacd005bb (diff)
Merge remote-tracking branch 'gum/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 d58066ee5..d16400016 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"