diff options
author | joerg <joerg@pkgsrc.org> | 2005-10-03 18:09:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-10-03 18:09:55 +0000 |
commit | 9ff2d3de1700ad5494f27af7beb16826003a5435 (patch) | |
tree | fc2fd776a77e13d7c866fadce7b42365fb916f83 /net/libtorrent | |
parent | 0181e45f2b3d0ca0f25a39979da4a2d764339f93 (diff) | |
download | pkgsrc-9ff2d3de1700ad5494f27af7beb16826003a5435.tar.gz |
Include unistd.h to get close() and getpagesize() on DragonFly.
Diffstat (limited to 'net/libtorrent')
-rw-r--r-- | net/libtorrent/distinfo | 3 | ||||
-rw-r--r-- | net/libtorrent/patches/patch-ab | 12 |
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> |