From 828d3043d68552d8f2c04937fc53e3168f2118f4 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Mon, 19 Jan 2015 08:22:38 +0000 Subject: net-p2p/libtorrent-rasterbar: fix build with LibreSSL Add upstream-provided patch to fix build with LibreSSL. Default (OpenSSL) setup isn't affected, so no PORTREVISION bump. Remove pkg-message, that have no use. Submitted by: Corey (by private email) --- net-p2p/libtorrent-rasterbar/Makefile | 2 -- net-p2p/libtorrent-rasterbar/files/patch-libressl | 38 +++++++++++++++++++++++ net-p2p/libtorrent-rasterbar/files/pkg-message.in | 9 ------ 3 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 net-p2p/libtorrent-rasterbar/files/patch-libressl delete mode 100644 net-p2p/libtorrent-rasterbar/files/pkg-message.in (limited to 'net-p2p/libtorrent-rasterbar') diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index 19c4208f5d18..db644ccf183a 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -35,8 +35,6 @@ CONFIGURE_ARGS= --disable-static \ SHLIB_VER= 7 PLIST_SUB+= SHLIB_VER="${SHLIB_VER}" -SUB_FILES= pkg-message - PORTDOCS= * DOCSRCDIR1= ${WRKSRC} diff --git a/net-p2p/libtorrent-rasterbar/files/patch-libressl b/net-p2p/libtorrent-rasterbar/files/patch-libressl new file mode 100644 index 000000000000..88072dd79414 --- /dev/null +++ b/net-p2p/libtorrent-rasterbar/files/patch-libressl @@ -0,0 +1,38 @@ +--- src/torrent.cpp (revision 10629) ++++ src/torrent.cpp (revision 10630) +@@ -82,6 +82,7 @@ + #ifdef TORRENT_USE_OPENSSL + #include "libtorrent/ssl_stream.hpp" + #include ++#include + #if BOOST_VERSION >= 104700 + #include + #endif // BOOST_VERSION +Index: src/peer_connection.cpp +=================================================================== +--- src/peer_connection.cpp (revision 10629) ++++ src/peer_connection.cpp (revision 10630) +@@ -65,6 +65,10 @@ + #include + #endif + ++#ifdef TORRENT_USE_OPENSSL ++#include ++#endif ++ + //#define TORRENT_CORRUPT_DATA + + using boost::shared_ptr; +Index: src/session_impl.cpp +=================================================================== +--- src/session_impl.cpp (revision 10629) ++++ src/session_impl.cpp (revision 10630) +@@ -149,6 +149,7 @@ + #ifdef TORRENT_USE_OPENSSL + + #include ++#include + + namespace + { + diff --git a/net-p2p/libtorrent-rasterbar/files/pkg-message.in b/net-p2p/libtorrent-rasterbar/files/pkg-message.in deleted file mode 100644 index b2cc1dcff86e..000000000000 --- a/net-p2p/libtorrent-rasterbar/files/pkg-message.in +++ /dev/null @@ -1,9 +0,0 @@ -=============================================================================== - -libtorrent-rasterbar has been installed. - -When you have problems to build Source please reinstall - -devel/boost-libs - -=============================================================================== -- cgit v1.2.3