aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 09:42:04 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-06-05 09:42:04 +0000
commite6b19a2752aa32a89e30f43e8863cd4762fc1017 (patch)
tree52e300337fd4d3f830718e80ff6537ec7f24ab80 /net-p2p/libtorrent-rasterbar-14
parent9bdfc663308c9fba9bb66d20a524fb8db13ad927 (diff)
downloadports-e6b19a2752aa32a89e30f43e8863cd4762fc1017.tar.gz
ports-e6b19a2752aa32a89e30f43e8863cd4762fc1017.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/Makefile1
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/Makefile b/net-p2p/libtorrent-rasterbar-14/Makefile
index 5943f90962dd..6600ed0a0456 100644
--- a/net-p2p/libtorrent-rasterbar-14/Makefile
+++ b/net-p2p/libtorrent-rasterbar-14/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= boost_date_time.3:${PORTSDIR}/devel/boost
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+USE_GCC= 3.4
CONFIGURE_ARGS= --disable-debug
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp b/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp
new file mode 100644
index 000000000000..65260b013846
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp
@@ -0,0 +1,10 @@
+--- include/libtorrent/asio/detail/socket_ops.hpp Wed May 16 00:35:55 2007
++++ include/libtorrent/asio/detail/socket_ops.hpp.orig Wed May 16 00:35:45 2007
+66c66
+< #if defined(__MACH__) && defined(__APPLE__)
+---
+> #if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
+298c298
+< #elif defined(__MACH__) && defined(__APPLE__)
+---
+> #elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)