Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/rtorrent/files: rtorrent-0.8.2-gcc34.patch
Date: Fri, 01 Aug 2008 21:16:57
Message-Id: E1KP1za-0003Ds-K3@stork.gentoo.org
1 loki_val 08/08/01 21:16:54
2
3 Added: rtorrent-0.8.2-gcc34.patch
4 Log:
5 Add patch for gcc-3.4, bug #224031. Thanks goes to Herbie Hopkins <herbie@×××××××.net>. Upstream http://libtorrent.rakshasa.no/ticket/1271 . Verified with Josef Drexler via IRC that this is the correct solution.
6 (Portage version: 2.2_rc5/cvs/Linux 2.6.25.8 i686)
7
8 Revision Changes Path
9 1.1 net-p2p/rtorrent/files/rtorrent-0.8.2-gcc34.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrent-0.8.2-gcc34.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/rtorrent/files/rtorrent-0.8.2-gcc34.patch?rev=1.1&content-type=text/plain
13
14 Index: rtorrent-0.8.2-gcc34.patch
15 ===================================================================
16 diff -rwud rtorrent-0.8.2/src/rpc/command.h rtorrent-0.8.2-my/src/rpc/command.h
17 --- rtorrent-0.8.2/src/rpc/command.h 2008-05-07 14:19:10.000000000 +0200
18 +++ rtorrent-0.8.2-my/src/rpc/command.h 2008-06-09 02:23:34.000000000 +0200
19 @@ -73,10 +73,8 @@
20 rt_triple(const T1& a, const T2& b, const T3& c) :
21 base_type(a, b), third(c) {}
22
23 - template <typename U1, typename U2>
24 - rt_triple(const std::pair<U1, U2>& b) : base_type(b), third() {}
25 + rt_triple(const base_type& b) : base_type(b), third() {}
26
27 - template <typename U1, typename U2, typename U3>
28 rt_triple(const rt_triple& src) :
29 base_type(src.first, src.second), third(src.third) {}
30 };