summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authorjoerg <joerg>2005-10-03 18:09:55 +0000
committerjoerg <joerg>2005-10-03 18:09:55 +0000
commitd1cdc80d22b5b849dbe58fbda18c5b296cbf1c11 (patch)
treefc2fd776a77e13d7c866fadce7b42365fb916f83 /net/libtorrent
parenta1be664746cf93c762c88165d1592a57b9881fc9 (diff)
downloadpkgsrc-d1cdc80d22b5b849dbe58fbda18c5b296cbf1c11.tar.gz
Include unistd.h to get close() and getpagesize() on DragonFly.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/distinfo3
-rw-r--r--net/libtorrent/patches/patch-ab12
2 files changed, 14 insertions, 1 deletions
diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo
index f1792b1dca5..ec68267bd65 100644
--- a/net/libtorrent/distinfo
+++ b/net/libtorrent/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/08/08 08:38:49 adam Exp $
+$NetBSD: distinfo,v 1.3 2005/10/03 18:09:55 joerg Exp $
SHA1 (libtorrent-0.7.0-1.tar.gz) = e5a70b3690be8eed04bf64640c73631755317f57
RMD160 (libtorrent-0.7.0-1.tar.gz) = 6d5e29ec07e61560b5c678078364fbf8200973b6
Size (libtorrent-0.7.0-1.tar.gz) = 316763 bytes
SHA1 (patch-aa) = bb40555e2f7507879711000d510c0d3d9e3d6cd0
+SHA1 (patch-ab) = 054b46692c9e9793e14d494ece0c7950f4bca207
diff --git a/net/libtorrent/patches/patch-ab b/net/libtorrent/patches/patch-ab
new file mode 100644
index 00000000000..4eeeb77f26c
--- /dev/null
+++ b/net/libtorrent/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2005/10/03 18:09:55 joerg Exp $
+
+--- src/data/file.cc.orig 2005-08-03 19:44:11.000000000 +0000
++++ src/data/file.cc
+@@ -43,6 +43,7 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
++#include <unistd.h>
+
+ #if HAS_XFS == 1
+ #include <xfs/libxfs.h>