summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-05 09:24:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-05 09:24:37 +0000
commit89b1bf4999747e6e1c2e8e3fe0168d3bba5ca7a3 (patch)
tree69f6016e032ade9a86f5be4f37f5821cb0aabf79 /net-p2p/rtorrent/files
parentversion bump (diff)
downloadgentoo-2-89b1bf4999747e6e1c2e8e3fe0168d3bba5ca7a3.tar.gz
gentoo-2-89b1bf4999747e6e1c2e8e3fe0168d3bba5ca7a3.tar.bz2
gentoo-2-89b1bf4999747e6e1c2e8e3fe0168d3bba5ca7a3.zip
Version bump.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'net-p2p/rtorrent/files')
-rw-r--r--net-p2p/rtorrent/files/digest-rtorrent-0.5.13
-rw-r--r--net-p2p/rtorrent/files/rtorrent-0.5.1-build.patch33
2 files changed, 36 insertions, 0 deletions
diff --git a/net-p2p/rtorrent/files/digest-rtorrent-0.5.1 b/net-p2p/rtorrent/files/digest-rtorrent-0.5.1
new file mode 100644
index 000000000000..7ffa7ef1a6e3
--- /dev/null
+++ b/net-p2p/rtorrent/files/digest-rtorrent-0.5.1
@@ -0,0 +1,3 @@
+MD5 e33e1478bbe1a8836f318f0d904782c4 rtorrent-0.5.1.tar.gz 411269
+RMD160 ab588a3bc1e07bafb420c2c85383243684915a1c rtorrent-0.5.1.tar.gz 411269
+SHA256 d6c94ce0236f455bebb79a5851525ceecde160fc94b3bd1b4ea55406f85be561 rtorrent-0.5.1.tar.gz 411269
diff --git a/net-p2p/rtorrent/files/rtorrent-0.5.1-build.patch b/net-p2p/rtorrent/files/rtorrent-0.5.1-build.patch
new file mode 100644
index 000000000000..43908682479e
--- /dev/null
+++ b/net-p2p/rtorrent/files/rtorrent-0.5.1-build.patch
@@ -0,0 +1,33 @@
+Index: rtorrent-0.5.1/rak/functional_fun.h
+===================================================================
+--- rtorrent-0.5.1.orig/rak/functional_fun.h
++++ rtorrent-0.5.1/rak/functional_fun.h
+@@ -349,28 +349,12 @@ convert_fn(function_base0<SrcResult>* sr
+ return new convert_fn0_t<Result, SrcResult>(src);
+ }
+
+-// This overload ensures that if we try to convert to the same type,
+-// it will optimize away the unneeded layer.
+-template <typename Result>
+-inline function_base0<Result>*
+-convert_fn(function_base0<Result>* src) {
+- return src;
+-}
+-
+ template <typename Result, typename Arg1, typename SrcResult, typename SrcArg1>
+ inline function_base1<Result, Arg1>*
+ convert_fn(function_base1<SrcResult, SrcArg1>* src) {
+ return new convert_fn1_t<Result, Arg1, SrcResult, SrcArg1>(src);
+ }
+
+-// This overload ensures that if we try to convert to the same type,
+-// it will optimize away the unneeded layer.
+-template <typename Result, typename Arg1>
+-inline function_base1<Result, Arg1>*
+-convert_fn(function_base1<Result, Arg1>* src) {
+- return src;
+-}
+-
+ }
+
+ #endif