aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-06-15 21:59:59 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-06-15 21:59:59 +0000
commit7f9c51fe903a989b929f309aa46cd23bf545a6d0 (patch)
tree2cf8e0d346c7be15f98af586f94b3c6a63ded064 /net-p2p
parent36734dd6ded8498d54e774194b395c5f4cc5a0d7 (diff)
downloadports-7f9c51fe903a989b929f309aa46cd23bf545a6d0.tar.gz
ports-7f9c51fe903a989b929f309aa46cd23bf545a6d0.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar-15/Makefile3
-rw-r--r--net-p2p/libtorrent-rasterbar-15/files/patch-include_libtorrent_bitfield.hpp10
2 files changed, 12 insertions, 1 deletions
diff --git a/net-p2p/libtorrent-rasterbar-15/Makefile b/net-p2p/libtorrent-rasterbar-15/Makefile
index fa78ded698bc..8ee26980ce18 100644
--- a/net-p2p/libtorrent-rasterbar-15/Makefile
+++ b/net-p2p/libtorrent-rasterbar-15/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libtorrent-rasterbar
PORTVERSION= 0.15.0
+PORTREVISION= 1
CATEGORIES= net-p2p ipv6
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= libtorrent
@@ -32,7 +33,7 @@ CONFIGURE_ARGS= --disable-debug \
--enable-dht \
--enable-encryption \
--enable-pool-allocators \
- --enable-deprecated-functions \
+ --disable-deprecated-functions \
--with-boost-system=boost_system \
--with-boost-filesystem=boost_filesystem \
--with-boost-thread=boost_thread \
diff --git a/net-p2p/libtorrent-rasterbar-15/files/patch-include_libtorrent_bitfield.hpp b/net-p2p/libtorrent-rasterbar-15/files/patch-include_libtorrent_bitfield.hpp
new file mode 100644
index 000000000000..ef9bebf60c98
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar-15/files/patch-include_libtorrent_bitfield.hpp
@@ -0,0 +1,10 @@
+--- include/libtorrent/bitfield.hpp 2009/04/26 21:21:31 3421
++++ include/libtorrent/bitfield.hpp 2010/05/29 05:46:47 4624
+@@ -36,6 +36,7 @@
+ #include "libtorrent/assert.hpp"
+ #include "libtorrent/config.hpp"
+ #include <cstring> // for memset and memcpy
++#include <cstdlib> // for malloc, free and realloc
+
+ namespace libtorrent
+ {