From 0bff53119f08d677db6c1a991bd30741682a8a08 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 2 Jun 2018 17:13:10 +0100 Subject: Revert "gentoo resync : 02.06.2018" This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec. --- .../aria2/files/aria2-1.34.0-make_unique.patch | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 net-misc/aria2/files/aria2-1.34.0-make_unique.patch (limited to 'net-misc/aria2/files') diff --git a/net-misc/aria2/files/aria2-1.34.0-make_unique.patch b/net-misc/aria2/files/aria2-1.34.0-make_unique.patch deleted file mode 100644 index 448d6cfe7753..000000000000 --- a/net-misc/aria2/files/aria2-1.34.0-make_unique.patch +++ /dev/null @@ -1,44 +0,0 @@ -From e8e04d6f22a507e8374651d3d2343cd9fb986993 Mon Sep 17 00:00:00 2001 -From: Tatsuhiro Tsujikawa -Date: Thu, 17 May 2018 18:39:44 +0900 -Subject: [PATCH] Fix build failure when InternalDHKeyExchange is used - ---- - src/bignum.h | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/src/bignum.h b/src/bignum.h -index e59ab6bbf..5fb4402bc 100644 ---- a/src/bignum.h -+++ b/src/bignum.h -@@ -19,6 +19,8 @@ - #include - #include - -+#include "a2functional.h" -+ - namespace bignum { - - template class ulong { -@@ -31,17 +33,17 @@ template class ulong { - std::unique_ptr buf_; - - public: -- inline ulong() : buf_(make_unique(dim)) {} -- inline ulong(size_t t) : buf_(make_unique(dim)) -+ inline ulong() : buf_(aria2::make_unique(dim)) {} -+ inline ulong(size_t t) : buf_(aria2::make_unique(dim)) - { - memcpy(buf_.get(), (char_t*)&t, sizeof(t)); - } -- inline ulong(const ulong& rhs) : buf_(make_unique(dim)) -+ inline ulong(const ulong& rhs) : buf_(aria2::make_unique(dim)) - { - memcpy(buf_.get(), rhs.buf_.get(), dim); - } - explicit inline ulong(const char_t* data, size_t size) -- : buf_(make_unique(dim)) -+ : buf_(aria2::make_unique(dim)) - { - if (size > dim) { - throw std::bad_alloc(); -- cgit v1.2.3