1
0
Alexei Sorokin
2018-07-03 14:27:07 +00:00
committed by Git OBS Bridge
parent a3a85759e5
commit cc3c1247ee
5 changed files with 26 additions and 86 deletions

View File

@@ -1,77 +0,0 @@
--- a/include/libtorrent/disk_buffer_pool.hpp
+++ b/include/libtorrent/disk_buffer_pool.hpp
@@ -40,7 +40,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boost/function.hpp>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#ifndef TORRENT_DISABLE_POOL_ALLOCATOR
#include "libtorrent/allocator.hpp" // for page_aligned_allocator
--- a/include/libtorrent/ip_filter.hpp
+++ b/include/libtorrent/ip_filter.hpp
@@ -41,7 +41,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <vector>
#include <boost/limits.hpp>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include <boost/cstdint.hpp>
#include <boost/tuple/tuple.hpp>
--- a/include/libtorrent/kademlia/routing_table.hpp
+++ b/include/libtorrent/kademlia/routing_table.hpp
@@ -39,7 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <set>
#include <boost/cstdint.hpp>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/array.hpp>
#include <boost/noncopyable.hpp>
--- a/src/ip_filter.cpp
+++ b/src/ip_filter.cpp
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/
#include "libtorrent/ip_filter.hpp"
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
namespace libtorrent
--- a/src/peer_list.cpp
+++ b/src/peer_list.cpp
@@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/aux_/disable_warnings_push.hpp"
#include <boost/bind.hpp>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include "libtorrent/aux_/disable_warnings_pop.hpp"
--- a/test/test_ip_filter.cpp
+++ b/test/test_ip_filter.cpp
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/
#include "libtorrent/ip_filter.hpp"
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include "test.hpp"
#include "settings.hpp"
--- a/test/test_storage.cpp
+++ b/test/test_storage.cpp
@@ -45,7 +45,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/torrent_info.hpp"
#include <boost/make_shared.hpp>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include <boost/bind.hpp>
#include <iostream>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8133bf683308decc24da22aff17437e36c522d8959bcf934e94cf7a3a567f3a9
size 3951887

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bbf8fd0430e27037b09a870c89cfc330ea41816102fe1d1d16cc7428df08d5d
size 4022908

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Jul 3 11:53:07 UTC 2018 - sor.alexei@meowr.ru
- Update to version 1.1.8:
* Fix disc I/O performance of checking hashes and creating
torrents.
* Fix a race condition in part_file.
* Fix part_file open mode compatibility test.
* Fix a race condition in the random number generator.
* Fix a race condition in stat_cache (drive storage).
* Improve error handling of failing to change file priority.
The API for custom storage implementations was altered.
* Set the hidden attribute when creating the part file.
* Fix tracker announces reporting more data downloaded than the
size of the torrent.
* Fix a recent regression with the force_proxy setting.
- Remove libtorrent-rasterbar-1.1.7-boost-1.67.patch.
- Re-enable building of the Python 2 module to mirror the boost
package.
-------------------------------------------------------------------
Sun Jun 17 18:47:02 UTC 2018 - sor.alexei@meowr.ru

View File

@@ -18,21 +18,19 @@
%define _name libtorrent
%define sover 9
%define _version 1_1_7
%bcond_with python2
%define _version 1_1_8
%bcond_without python3
%bcond_without python2
%bcond_with examples
%bcond_with tests
Name: libtorrent-rasterbar
Version: 1.1.7
Version: 1.1.8
Release: 0
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: http://libtorrent.org/
Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-1.1.7-boost-1.67.patch boo#1089812 -- Add Boost 1.67+ support.
Patch0: libtorrent-rasterbar-1.1.7-boost-1.67.patch
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
@@ -162,7 +160,6 @@ Documentation for the libtorrent-rasterbar package.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"