From e6b19a2752aa32a89e30f43e8863cd4762fc1017 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Tue, 5 Jun 2007 09:42:04 +0000 Subject: - Add USE_GCC=3.4 since doesn't build with 4.x (seems a devel/boost problem). - Add part of removed patch to sync with net-p2p/rblibtorrent, since they are currently of the same version. --- net-p2p/libtorrent-rasterbar-14/Makefile | 1 + net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp | 10 ++++++++++ net-p2p/rblibtorrent-devel/Makefile | 1 + net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp | 10 ++++++++++ 4 files changed, 22 insertions(+) create mode 100644 net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp create mode 100644 net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp (limited to 'net-p2p') 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__) diff --git a/net-p2p/rblibtorrent-devel/Makefile b/net-p2p/rblibtorrent-devel/Makefile index 5943f90962dd..6600ed0a0456 100644 --- a/net-p2p/rblibtorrent-devel/Makefile +++ b/net-p2p/rblibtorrent-devel/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/rblibtorrent-devel/files/patch-socket_ops.hpp b/net-p2p/rblibtorrent-devel/files/patch-socket_ops.hpp new file mode 100644 index 000000000000..65260b013846 --- /dev/null +++ b/net-p2p/rblibtorrent-devel/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__) -- cgit v1.2.3