summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/farpd/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-08-03 09:26:12 +0200
committermakefu <github@syntax-fehler.de>2016-08-03 09:26:12 +0200
commitb68633c0272514dd4f2d235796f87021664730c2 (patch)
treea01b181af52c8cd134877483150c879cd5289b5c /makefu/5pkgs/farpd/default.nix
parentb197949ab83ee3ee87b5774e0fc7c8d0123a6708 (diff)
m 5 farpd: fetch patch instead of using local
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"