diff options
author | 2006-07-08 23:11:45 +0000 | |
---|---|---|
committer | 2006-07-08 23:11:45 +0000 | |
commit | 33cf71754aa76f84399a163b3e288e79bff6a970 (patch) | |
tree | 790bf5e48512be9132bd03aed200b53d50bd0fed /net-p2p/rtorrent/files | |
parent | Version bump to latest version, drop old version. (diff) | |
download | historical-33cf71754aa76f84399a163b3e288e79bff6a970.tar.gz historical-33cf71754aa76f84399a163b3e288e79bff6a970.tar.bz2 historical-33cf71754aa76f84399a163b3e288e79bff6a970.zip |
Version bump to latest version, drop old version.
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'net-p2p/rtorrent/files')
-rw-r--r-- | net-p2p/rtorrent/files/digest-rtorrent-0.5.0 | 3 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/digest-rtorrent-0.5.1 | 3 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/digest-rtorrent-0.5.2 | 3 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/rtorrent-0.5.1-template.patch | 67 |
4 files changed, 0 insertions, 76 deletions
diff --git a/net-p2p/rtorrent/files/digest-rtorrent-0.5.0 b/net-p2p/rtorrent/files/digest-rtorrent-0.5.0 deleted file mode 100644 index 9a48e6417309..000000000000 --- a/net-p2p/rtorrent/files/digest-rtorrent-0.5.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 430991ae945f0df88fd3a369b3836595 rtorrent-0.5.0.tar.gz 401012 -RMD160 4fd18470ccad49d48a676a0ebae8a621fa832531 rtorrent-0.5.0.tar.gz 401012 -SHA256 4621bac6301d03e067ae19074b7eecdaa25e37a3cbce1afb9eab5155685d6cc4 rtorrent-0.5.0.tar.gz 401012 diff --git a/net-p2p/rtorrent/files/digest-rtorrent-0.5.1 b/net-p2p/rtorrent/files/digest-rtorrent-0.5.1 deleted file mode 100644 index 7ffa7ef1a6e3..000000000000 --- a/net-p2p/rtorrent/files/digest-rtorrent-0.5.1 +++ /dev/null @@ -1,3 +0,0 @@ -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/digest-rtorrent-0.5.2 b/net-p2p/rtorrent/files/digest-rtorrent-0.5.2 deleted file mode 100644 index 3d859c8a6f9b..000000000000 --- a/net-p2p/rtorrent/files/digest-rtorrent-0.5.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 906302a6022cba3f1d528ff39ba74d00 rtorrent-0.5.2.tar.gz 413246 -RMD160 e7ea6bcc5e1a5091f2d9a5eb42526e2d8648cc94 rtorrent-0.5.2.tar.gz 413246 -SHA256 7300ddbd7140d2a9fe2b264e2c07a588bbe3fe6691ed485a4a7a06d9f7f14dc8 rtorrent-0.5.2.tar.gz 413246 diff --git a/net-p2p/rtorrent/files/rtorrent-0.5.1-template.patch b/net-p2p/rtorrent/files/rtorrent-0.5.1-template.patch deleted file mode 100644 index 1b17cc9a7dfd..000000000000 --- a/net-p2p/rtorrent/files/rtorrent-0.5.1-template.patch +++ /dev/null @@ -1,67 +0,0 @@ -Index: rtorrent/rak/functional_fun.h -=================================================================== ---- rtorrent/rak/functional_fun.h (revision 682) -+++ rtorrent/rak/functional_fun.h (working copy) -@@ -343,34 +343,44 @@ - return new value_fn0_t<Result>(val); - } - -+template <typename A, typename B> -+struct equal_types_t { -+ typedef A first_type; -+ typedef B second_type; -+ -+ const static int result = 0; -+}; -+ -+template <typename A> -+struct equal_types_t<A, A> { -+ typedef A first_type; -+ typedef A second_type; -+ -+ const static int result = 1; -+}; -+ - template <typename Result, typename SrcResult> - inline function_base0<Result>* - convert_fn(function_base0<SrcResult>* src) { -- return new convert_fn0_t<Result, SrcResult>(src); -+ if (equal_types_t<function_base0<Result>, function_base0<SrcResult> >::result) -+ // The pointer cast never gets done if the types are different, -+ // but needs to be here to pleasant the compiler. -+ return reinterpret_cast<typename equal_types_t<function_base0<Result>, function_base0<SrcResult> >::first_type*>(src); -+ else -+ 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); -+ if (equal_types_t<function_base1<Result, Arg1>, function_base1<SrcResult, SrcArg1> >::result) -+ // The pointer cast never gets done if the types are different, -+ // but needs to be here to pleasant the compiler. -+ return reinterpret_cast<typename equal_types_t<function_base1<Result, Arg1>, function_base1<SrcResult, SrcArg1> >::first_type*>(src); -+ else -+ 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 |