Patched for Boost 1.69 header changes
Also needs changes to bindings/python/src/error_code.cpp from
939b380fda
This commit is contained in:
parent
5b871a93f0
commit
54de75b28f
10
rb_libtorrent-boost169.patch
Normal file
10
rb_libtorrent-boost169.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- libtorrent-rasterbar-1.1.9/include/libtorrent/config.hpp~ 2019-01-30 16:22:52.936733759 +0000
|
||||
+++ libtorrent-rasterbar-1.1.9/include/libtorrent/config.hpp 2019-01-30 16:22:55.472730824 +0000
|
||||
@@ -51,6 +51,7 @@
|
||||
#include <boost/asio/detail/config.hpp>
|
||||
#include <boost/version.hpp>
|
||||
#include <boost/detail/endian.hpp>
|
||||
+#include <boost/core/noncopyable.hpp>
|
||||
#include <stdio.h> // for snprintf
|
||||
#include <limits.h> // for IOV_MAX
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
Name: rb_libtorrent
|
||||
Version: 1.1.9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A C++ BitTorrent library aiming to be the best alternative
|
||||
|
||||
License: BSD
|
||||
@ -28,6 +28,7 @@ Source3: %{name}-COPYING.zlib
|
||||
Patch0: %{name}-1.0.1-boost_noncopyable.patch
|
||||
Patch1: %{name}-1.1.9-system-tommath.patch
|
||||
Patch2: disable_failed_test.patch
|
||||
Patch3: %{name}-boost169.patch
|
||||
|
||||
%if 0%{?rhel}
|
||||
# aarch64 is broken and I have zero interest in fixing it
|
||||
@ -124,6 +125,7 @@ Python applications.
|
||||
#patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
rm include/libtorrent/tommath* src/mpi.cpp
|
||||
sed -i -e 's|include/libtorrent/version.hpp|../include/libtorrent/version.hpp|' configure configure.ac
|
||||
|
||||
@ -276,6 +278,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
||||
%endif # with python3
|
||||
|
||||
%changelog
|
||||
* Wed Jan 30 2019 Jonathan Wakely <jwakely@redhat.com> - 1.1.9-2
|
||||
- Add patch for Boost 1.69 header changes
|
||||
|
||||
* Thu Aug 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.9-1
|
||||
- Upgrade to 1.1.9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user