summary refs log tree commit diff
path: root/gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-03-26 07:49:50 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-03-26 07:49:50 +0200
commit3c5698046a4b4c8934866e0195e899f73163020d (patch)
treec646996d09da3de12cba9ec50acebb64d66d2cc0 /gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch
parentff4dc16eac6c15dfa2bc0ef92ea3b6b9f29d0680 (diff)
downloadguix-3c5698046a4b4c8934866e0195e899f73163020d.tar.gz
gnu: libtorrent-rasterbar: Update to 1.1.2.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar): Update to 1.1.2.
[source]: Use patch.
* gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch')
-rw-r--r--gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch b/gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch
new file mode 100644
index 0000000000..85bea76efe
--- /dev/null
+++ b/gnu/packages/patches/libtorrent-rasterbar-boost-compat.patch
@@ -0,0 +1,27 @@
+Fix compatibility with Boost 1.63.
+
+Patch copied from upstream source repository:
+
+https://github.com/arvidn/libtorrent/commit/6d2d736cecce0af274dd651dd1f562716b625d92
+
+From 6d2d736cecce0af274dd651dd1f562716b625d92 Mon Sep 17 00:00:00 2001
+From: arvidn <arvid@cs.umu.se>
+Date: Sun, 12 Mar 2017 13:03:26 -0400
+Subject: [PATCH] fix test_ssl.cpp build with newer versions of boost
+
+---
+ test/test_ssl.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/test/test_ssl.cpp b/test/test_ssl.cpp
+index 01c5bc7..2903332 100644
+--- a/test/test_ssl.cpp
++++ b/test/test_ssl.cpp
+@@ -51,7 +51,6 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <boost/asio/connect.hpp>
+ 
+ #ifdef TORRENT_USE_OPENSSL
+-#include <boost/asio/ssl/error.hpp> // for asio::error::get_ssl_category()
+ #include <boost/asio/ssl.hpp>
+ 
+ #include "libtorrent/aux_/disable_warnings_pop.hpp"