commit:     f3b7a35abb258019987890573b730f3c1f18ad04
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 21:35:50 2015 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 21:36:20 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b7a35a

net-libs/rb_libtorrent: Backport upstream patch to fix debug builds. Thanks to 
Eugene (#559728)

Package-Manager: portage-2.2.20.1

 .../rb_libtorrent-1.0.6-fix-debug-build.patch      | 26 ++++++++++++++++++++++
 net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild  |  5 ++++-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git 
a/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch 
b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch
new file mode 100644
index 0000000..62429e7
--- /dev/null
+++ b/net-libs/rb_libtorrent/files/rb_libtorrent-1.0.6-fix-debug-build.patch
@@ -0,0 +1,26 @@
+Signed-off-by: Markos Chandras <hwoar...@gentoo.org>
+X-Gentoo-Bug: 559728
+X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=559728
+
+From 06ce6a2d8b048c5791e2cc5acd1dfe8845680a84 Mon Sep 17 00:00:00 2001
+From: Chocobo1 <choco...@users.noreply.github.com>
+Date: Sat, 1 Aug 2015 20:29:43 +0800
+Subject: [PATCH] Fix typo
+
+---
+ src/torrent.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/torrent.cpp b/src/torrent.cpp
+index d2da131..2e276ec 100644
+--- a/src/torrent.cpp
++++ b/src/torrent.cpp
+@@ -675,7 +675,7 @@ namespace libtorrent
+               }
+ 
+ #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING
+-              debug_log("*** LEAVING SEED MODE (%s)", seed ? "as seed" : "as 
non-seed");
++              debug_log("*** LEAVING SEED MODE (%s)", m_seed_mode ? "as seed" 
: "as non-seed");
+ #endif
+               m_seed_mode = false;
+               // seed is false if we turned out not

diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild 
b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild
index 9bad389..4508582 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.6.ebuild
@@ -41,7 +41,10 @@ DEPEND="${RDEPEND}
 
 RESTRICT="test"
 
-PATCHES=( "${FILESDIR}"/${PN}-1.0.2-python.patch )
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.0.2-python.patch
+       "${FILESDIR}"/${P}-fix-debug-build.patch
+)
 
 AUTOTOOLS_IN_SOURCE_BUILD=1
 

Reply via email to