From 33cf71754aa76f84399a163b3e288e79bff6a970 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sat, 8 Jul 2006 23:11:45 +0000 Subject: Version bump to latest version, drop old version. Package-Manager: portage-2.1.1_pre2-r6 --- net-p2p/rtorrent/files/digest-rtorrent-0.5.0 | 3 - net-p2p/rtorrent/files/digest-rtorrent-0.5.1 | 3 - net-p2p/rtorrent/files/digest-rtorrent-0.5.2 | 3 - .../rtorrent/files/rtorrent-0.5.1-template.patch | 67 ---------------------- 4 files changed, 76 deletions(-) delete mode 100644 net-p2p/rtorrent/files/digest-rtorrent-0.5.0 delete mode 100644 net-p2p/rtorrent/files/digest-rtorrent-0.5.1 delete mode 100644 net-p2p/rtorrent/files/digest-rtorrent-0.5.2 delete mode 100644 net-p2p/rtorrent/files/rtorrent-0.5.1-template.patch (limited to 'net-p2p/rtorrent/files') 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(val); - } - -+template -+struct equal_types_t { -+ typedef A first_type; -+ typedef B second_type; -+ -+ const static int result = 0; -+}; -+ -+template -+struct equal_types_t { -+ typedef A first_type; -+ typedef A second_type; -+ -+ const static int result = 1; -+}; -+ - template - inline function_base0* - convert_fn(function_base0* src) { -- return new convert_fn0_t(src); -+ if (equal_types_t, function_base0 >::result) -+ // The pointer cast never gets done if the types are different, -+ // but needs to be here to pleasant the compiler. -+ return reinterpret_cast, function_base0 >::first_type*>(src); -+ else -+ return new convert_fn0_t(src); - } - --// This overload ensures that if we try to convert to the same type, --// it will optimize away the unneeded layer. --template --inline function_base0* --convert_fn(function_base0* src) { -- return src; --} -- - template - inline function_base1* - convert_fn(function_base1* src) { -- return new convert_fn1_t(src); -+ if (equal_types_t, function_base1 >::result) -+ // The pointer cast never gets done if the types are different, -+ // but needs to be here to pleasant the compiler. -+ return reinterpret_cast, function_base1 >::first_type*>(src); -+ else -+ return new convert_fn1_t(src); - } - --// This overload ensures that if we try to convert to the same type, --// it will optimize away the unneeded layer. --template --inline function_base1* --convert_fn(function_base1* src) { -- return src; - } - --} -- - #endif -- cgit v1.2.3-65-gdbad