Hello community,
here is the log from the commit of package libtorrent-rasterbar for
openSUSE:Factory checked in at 2016-01-16 11:57:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
and /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent-rasterbar"
Changes:
--------
---
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes
2015-11-24 22:34:17.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new/libtorrent-rasterbar.changes
2016-01-16 11:57:20.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 14 23:57:30 UTC 2016 - [email protected]
+
+- Add libtorrent-rasterbar-boost-1.60.patch: register_ptr_to_python
+ for boost::shared_ptr<alert> (by Andrew Resch).
+
+-------------------------------------------------------------------
New:
----
libtorrent-rasterbar-boost-1.60.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.cZlvAM/_old 2016-01-16 11:57:21.000000000 +0100
+++ /var/tmp/diff_new_pack.cZlvAM/_new 2016-01-16 11:57:21.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libtorrent-rasterbar
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@
Group: Development/Libraries/C and C++
Url: http://rasterbar.com/products/libtorrent
Source:
https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM libtorrent-rasterbar-boost-1.60.patch
[email protected] -- Register_ptr_to_python for boost::shared_ptr<alert>.
+Patch0: libtorrent-rasterbar-boost-1.60.patch
BuildRequires: boost-devel >= 1.36
BuildRequires: gcc-c++
BuildRequires: pkg-config
@@ -111,6 +113,7 @@
%prep
%setup -q
+%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
++++++ libtorrent-rasterbar-boost-1.60.patch ++++++
>From 5330ba5af717b983e456be9f576d66b78d9ca214 Mon Sep 17 00:00:00 2001
From: Andrew Resch <[email protected]>
Date: Sat, 2 Jan 2016 14:40:02 -0800
Subject: [PATCH] register_ptr_to_python for boost::shared_ptr<alert>
---
bindings/python/src/session.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp
index fe53e10..727a54a 100644
--- a/bindings/python/src/session.cpp
+++ b/bindings/python/src/session.cpp
@@ -799,7 +799,7 @@ void bind_session()
.def("settings", &get_feed_settings)
;
- register_ptr_to_python<std::auto_ptr<alert> >();
+ register_ptr_to_python<boost::shared_ptr<alert> >();
def("high_performance_seed", high_performance_seed);
def("min_memory_usage", min_memory_usage);