summaryrefslogtreecommitdiff
path: root/patches/monero/0021-fix-mingw-build-issues.patch
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-09 09:29:37 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-09 09:29:37 +0100
commitdc87a9abeecf1277899ce104043ec250bb871bcd (patch)
tree3af0632473e58af888f321110586a223d202708e /patches/monero/0021-fix-mingw-build-issues.patch
parent6c0a70b57cacb212bf70221f80aa44718c2de9ec (diff)
update monero to v0.18.4.6
Diffstat (limited to 'patches/monero/0021-fix-mingw-build-issues.patch')
-rw-r--r--patches/monero/0021-fix-mingw-build-issues.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/patches/monero/0021-fix-mingw-build-issues.patch b/patches/monero/0021-fix-mingw-build-issues.patch
deleted file mode 100644
index 50d6a43..0000000
--- a/patches/monero/0021-fix-mingw-build-issues.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From ff7287c028327294a28f4521bf6c05721403016d Mon Sep 17 00:00:00 2001
-From: Czarek Nakamoto <cyjan@mrcyjanek.net>
-Date: Wed, 4 Mar 2026 14:52:14 +0100
-Subject: [PATCH] fix: mingw build issues
-
----
- contrib/epee/include/serialization/keyvalue_serialization.h | 1 +
- contrib/epee/src/abstract_http_client.cpp | 3 ++-
- 2 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/contrib/epee/include/serialization/keyvalue_serialization.h b/contrib/epee/include/serialization/keyvalue_serialization.h
-index fbbddc7d2..5104f284d 100644
---- a/contrib/epee/include/serialization/keyvalue_serialization.h
-+++ b/contrib/epee/include/serialization/keyvalue_serialization.h
-@@ -26,6 +26,7 @@
-
- #pragma once
-
-+#include <cstdint>
- #include <type_traits>
- #include <boost/utility/value_init.hpp>
- #include <boost/foreach.hpp>
-diff --git a/contrib/epee/src/abstract_http_client.cpp b/contrib/epee/src/abstract_http_client.cpp
-index 03f73cbbc..70c18cfca 100644
---- a/contrib/epee/src/abstract_http_client.cpp
-+++ b/contrib/epee/src/abstract_http_client.cpp
-@@ -2,6 +2,7 @@
- #include "net/http_base.h"
- #include "net/net_parse_helpers.h"
- #include "misc_log_ex.h"
-+#include <cmath>
-
- #undef MONERO_DEFAULT_LOG_CATEGORY
- #define MONERO_DEFAULT_LOG_CATEGORY "net.http"
-@@ -38,7 +39,7 @@ namespace net_utils
- while (num_char >= radix)
- {
- temp = num_char % radix;
-- num_char = (int)floor((float)num_char / (float)radix);
-+ num_char = (int)std::floor((float)num_char / (float)radix);
- csTmp = get_hex_vals()[temp];
- }
-
---
-2.51.0
-