1
0
forked from ports/contrib

libtorrent-rasterbar: 1.2.2 -> 1.2.3

This commit is contained in:
Danny Rawlins 2020-01-07 00:34:38 +11:00
parent f8d26c8de1
commit f16ec54f60
4 changed files with 9 additions and 37 deletions

View File

@ -22,6 +22,7 @@ drwxr-xr-x root/root usr/include/libtorrent/aux_/
-rw-r--r-- root/root usr/include/libtorrent/aux_/cppint_import_export.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/cppint_import_export.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/cpuid.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/cpuid.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/deferred_handler.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/deferred_handler.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/deprecated.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/deque.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/deque.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/dev_random.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/dev_random.hpp
-rw-r--r-- root/root usr/include/libtorrent/aux_/disable_warnings_pop.hpp -rw-r--r-- root/root usr/include/libtorrent/aux_/disable_warnings_pop.hpp
@ -259,4 +260,4 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
drwxr-xr-x root/root usr/lib/python2.7/ drwxr-xr-x root/root usr/lib/python2.7/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/ drwxr-xr-x root/root usr/lib/python2.7/site-packages/
-rwxr-xr-x root/root usr/lib/python2.7/site-packages/libtorrent.so -rwxr-xr-x root/root usr/lib/python2.7/site-packages/libtorrent.so
-rw-r--r-- root/root usr/lib/python2.7/site-packages/python_libtorrent-1.2.2-py2.7.egg-info -rw-r--r-- root/root usr/lib/python2.7/site-packages/python_libtorrent-1.2.3-py2.7.egg-info

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36HJzJjuTdrnPnOwWuZ/0k26r6bTSstwsHjxUR8YjUSOZZRWmY0k4RQMsT90OAJK07z98JXIvLzhUWTDg1gYrw4= RWSagIOpLGJF3ycZt3OtrfprW9ZGl/hQ57Y4wPau32OHNGB3ljN67EWpGqJSCBIZr8h8h0V0M8rDOIaVHh6d190Fz0qpKxgFLAU=
SHA256 (Pkgfile) = b6eb3aa86fd05b18cbf1656f21ec74d49f85dd9e74e2126fd1e26dafbd8182cf SHA256 (Pkgfile) = 15b01e697a74c8da7046cc69a4f14763b3cc6c1358983887c51e258ed9bdac6f
SHA256 (.footprint) = af67dbb1ba42e7093ccae0214d8e7088b80c6a6340aab9259f2de2679d31f877 SHA256 (.footprint) = 011d74814e689e6c29bafc1fd755e0f9a97fa29e27e4e67664eb31a368376831
SHA256 (libtorrent-rasterbar-1.2.2.tar.gz) = e579261d7f0acbe82e9b4ce703cb721627cb8075023f8a26405992f489bc6202 SHA256 (libtorrent-rasterbar-1.2.3.tar.gz) = 1582fdbbd0449bcfe4ffae2ccb9e5bf0577459a32bb25604e01accb847da1a2d
SHA256 (fix-boost-1.72.patch) = f17df001237205ebee9e80f26671895d09d2912b357ef43257f7130dd861069c

View File

@ -4,16 +4,13 @@
# Depends on: boost # Depends on: boost
name=libtorrent-rasterbar name=libtorrent-rasterbar
version=1.2.2 version=1.2.3
release=2 release=1
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/$name-$version.tar.gz)
fix-boost-1.72.patch)
build() { build() {
cd $name-$version cd $name-$version
patch -p1 -i $SRC/fix-boost-1.72.patch
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-python-binding --enable-python-binding

View File

@ -1,25 +0,0 @@
https://github.com/arvidn/libtorrent/commit/e4b812b50b0a
From e4b812b50b0a7dfd430b00d0851be19e83845ac8 Mon Sep 17 00:00:00 2001
From: Arvid Norberg <arvid@cs.umu.se>
Date: Wed, 13 Nov 2019 15:36:05 +0000
Subject: [PATCH] add executor_type to socket_type
---
include/libtorrent/aux_/socket_type.hpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/libtorrent/aux_/socket_type.hpp b/include/libtorrent/aux_/socket_type.hpp
index 1342d39adf..7cbe90fd68 100644
--- a/include/libtorrent/aux_/socket_type.hpp
+++ b/include/libtorrent/aux_/socket_type.hpp
@@ -184,6 +184,10 @@ namespace aux {
using receive_buffer_size = tcp::socket::receive_buffer_size;
using send_buffer_size = tcp::socket::send_buffer_size;
+#if BOOST_VERSION >= 106600
+ using executor_type = tcp::socket::executor_type;
+#endif
+
explicit socket_type(io_service& ios): m_io_service(ios), m_type(0) {}
~socket_type();