From cae7336a5778a5a2e01c85702fe6c10161a8084c Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 15 May 2009 14:55:50 +0000 Subject: [PATCH] rtorrent: add upstream patch for gcc-3.4.6 ICE (closes: #4926) SVN-Revision: 15871 --- .../patches/901-upstream_rt_triple.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net/rtorrent/patches/901-upstream_rt_triple.patch diff --git a/net/rtorrent/patches/901-upstream_rt_triple.patch b/net/rtorrent/patches/901-upstream_rt_triple.patch new file mode 100644 index 000000000..d773acb4b --- /dev/null +++ b/net/rtorrent/patches/901-upstream_rt_triple.patch @@ -0,0 +1,24 @@ +Upstream patch from: http://libtorrent.rakshasa.no/ticket/1271 + +Fix the following gcc-3.4.6 ICE: + +In file included from ./../rpc/command_map.h:45, + from ./../rpc/parse_commands.h:43, + from dht_manager.cc:46: +./../rpc/command.h: In function `rpc::target_type rpc::get_target_left(const rpc::target_type&)': +./../rpc/command.h:153: internal compiler error: Segmentation fault + +--- a/src/rpc/command.h ++++ b/src/rpc/command.h +@@ -73,10 +73,8 @@ struct rt_triple : private std::pair +- rt_triple(const std::pair& b) : base_type(b), third() {} ++ rt_triple(const base_type& b) : base_type(b), third() {} + +- template + rt_triple(const rt_triple& src) : + base_type(src.first, src.second), third(src.third) {} + }; -- 2.30.2