From a8f23590de93d17d3278036d57c41d25d40cddd6 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 10 Apr 2025 13:29:22 +0200 Subject: fix: unary_function -> __unary_function --- .../0017-fix-unary_function-__unary_function.patch | 25 ++++++++++++++++++++++ .../0018-fix-unary_function-__unary_function.patch | 25 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 patches/monero/0017-fix-unary_function-__unary_function.patch create mode 100644 patches/wownero/0018-fix-unary_function-__unary_function.patch diff --git a/patches/monero/0017-fix-unary_function-__unary_function.patch b/patches/monero/0017-fix-unary_function-__unary_function.patch new file mode 100644 index 0000000..78f7487 --- /dev/null +++ b/patches/monero/0017-fix-unary_function-__unary_function.patch @@ -0,0 +1,25 @@ +From 8bbaab4a476e1c15eb97761181f8eadab2e7ca8c Mon Sep 17 00:00:00 2001 +From: Czarek Nakamoto +Date: Thu, 10 Apr 2025 13:28:05 +0200 +Subject: [PATCH] fix: unary_function -> __unary_function + +--- + src/cryptonote_basic/cryptonote_basic_impl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h +index b423573..3858be3 100644 +--- a/src/cryptonote_basic/cryptonote_basic_impl.h ++++ b/src/cryptonote_basic/cryptonote_basic_impl.h +@@ -40,7 +40,7 @@ namespace cryptonote { + /* */ + /************************************************************************/ + template +- struct array_hasher: std::unary_function ++ struct array_hasher: std::__unary_function + { + std::size_t operator()(const t_array& val) const + { +-- +2.49.0 + diff --git a/patches/wownero/0018-fix-unary_function-__unary_function.patch b/patches/wownero/0018-fix-unary_function-__unary_function.patch new file mode 100644 index 0000000..6e97146 --- /dev/null +++ b/patches/wownero/0018-fix-unary_function-__unary_function.patch @@ -0,0 +1,25 @@ +From b0d3cdc6d8a0089db64a0c0403e295c85b86f2fa Mon Sep 17 00:00:00 2001 +From: Czarek Nakamoto +Date: Thu, 10 Apr 2025 13:28:06 +0200 +Subject: [PATCH] fix: unary_function -> __unary_function + +--- + src/cryptonote_basic/cryptonote_basic_impl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h +index b423573..3858be3 100644 +--- a/src/cryptonote_basic/cryptonote_basic_impl.h ++++ b/src/cryptonote_basic/cryptonote_basic_impl.h +@@ -40,7 +40,7 @@ namespace cryptonote { + /* */ + /************************************************************************/ + template +- struct array_hasher: std::unary_function ++ struct array_hasher: std::__unary_function + { + std::size_t operator()(const t_array& val) const + { +-- +2.49.0 + -- cgit v1.2.3