summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2025-04-10 13:29:22 +0200
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2025-04-10 13:29:22 +0200
commita8f23590de93d17d3278036d57c41d25d40cddd6 (patch)
treefe29d30af75e5dd3f8a2940a7531089738fb97e4 /patches
parent7555c6ea3c79046d4d6579eaac7b1fd463a9716a (diff)
fix: unary_function -> __unary_function
Diffstat (limited to 'patches')
-rw-r--r--patches/monero/0017-fix-unary_function-__unary_function.patch25
-rw-r--r--patches/wownero/0018-fix-unary_function-__unary_function.patch25
2 files changed, 50 insertions, 0 deletions
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 <cyjan@mrcyjanek.net>
+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<class t_array>
+- struct array_hasher: std::unary_function<t_array&, std::size_t>
++ struct array_hasher: std::__unary_function<t_array&, std::size_t>
+ {
+ 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 <cyjan@mrcyjanek.net>
+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<class t_array>
+- struct array_hasher: std::unary_function<t_array&, std::size_t>
++ struct array_hasher: std::__unary_function<t_array&, std::size_t>
+ {
+ std::size_t operator()(const t_array& val) const
+ {
+--
+2.49.0
+