diff options
author | marino <marino> | 2012-05-24 17:01:43 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-24 17:01:43 +0000 |
commit | f10c19eecdd8cc0b5801bef90db37a996d5490cc (patch) | |
tree | 44797c46835ba13133de070736a5e1246121234c | |
parent | 671f2b46c59b0ebe8b0159da4929caa07e0f7595 (diff) | |
download | pkgsrc-f10c19eecdd8cc0b5801bef90db37a996d5490cc.tar.gz |
net/rtorrent: Fix DragonFly
-rw-r--r-- | net/rtorrent/distinfo | 4 | ||||
-rw-r--r-- | net/rtorrent/patches/patch-ad | 20 |
2 files changed, 16 insertions, 8 deletions
diff --git a/net/rtorrent/distinfo b/net/rtorrent/distinfo index f352bd9de37..d3e012eb5f5 100644 --- a/net/rtorrent/distinfo +++ b/net/rtorrent/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.29 2012/05/16 17:42:37 tron Exp $ +$NetBSD: distinfo,v 1.30 2012/05/24 17:01:43 marino Exp $ SHA1 (rtorrent-0.9.2.tar.gz) = 2a642d722745091265037ed8929a23c237a3b99f RMD160 (rtorrent-0.9.2.tar.gz) = 130a4c7f3bd018f7247d4561170d6878ab7a120f Size (rtorrent-0.9.2.tar.gz) = 591837 bytes SHA1 (patch-ab) = 87873bb32166d00398ab0ef6421a6fe85a55c914 -SHA1 (patch-ad) = ffc72a4020614f5879a050c0399c10d6f85cbdf0 +SHA1 (patch-ad) = f993340975dca61d5f7d7014b6959ee50b12a7b4 SHA1 (patch-ae) = a370881bfdd8534eb25fcbcff8d258b19797941f SHA1 (patch-af) = 842a01cbc75e61092b4d33fe9155a728e7c502e6 SHA1 (patch-ag) = b7e5fe242b19f994f013acc9ec54a65fed729c29 diff --git a/net/rtorrent/patches/patch-ad b/net/rtorrent/patches/patch-ad index 5335c1a7786..abb75cbadad 100644 --- a/net/rtorrent/patches/patch-ad +++ b/net/rtorrent/patches/patch-ad @@ -1,9 +1,7 @@ -$NetBSD: patch-ad,v 1.3 2012/05/16 17:42:37 tron Exp $ +$NetBSD: patch-ad,v 1.4 2012/05/24 17:01:43 marino Exp $ -Fix build under Solaris and DragonFly. - ---- src/utils/directory.cc.orig 2012-03-29 14:06:11.000000000 +0100 -+++ src/utils/directory.cc 2012-05-14 23:44:08.000000000 +0100 +--- src/utils/directory.cc.orig 2012-03-29 13:06:11.000000000 +0000 ++++ src/utils/directory.cc @@ -38,6 +38,7 @@ #include <algorithm> @@ -12,7 +10,17 @@ Fix build under Solaris and DragonFly. #include <dirent.h> #include <rak/path.h> #include <torrent/exceptions.h> -@@ -67,7 +68,9 @@ +@@ -45,6 +46,9 @@ + #ifdef __sun__ + #include <sys/stat.h> + #endif ++#ifdef __DragonFly__ ++#define d_reclen d_namlen ++#endif + + #include "directory.h" + +@@ -67,7 +71,9 @@ Directory::update(int flags) { if (m_path.empty()) throw torrent::input_error("Directory::update() tried to open an empty path."); |