summaryrefslogtreecommitdiff
path: root/patches/monero/0020-depends-remove-icu4c-monero-project-monero-8880.patch
blob: 34172b6f664de921543db5257a8023e7434313b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From c1d4ec80ec32232d2e70074afd8830754a752d70 Mon Sep 17 00:00:00 2001
From: Czarek Nakamoto <cyjan@mrcyjanek.net>
Date: Tue, 3 Mar 2026 13:55:59 +0100
Subject: [PATCH] depends: remove icu4c monero-project/monero#8880

---
 CMakeLists.txt          | 4 ++--
 src/common/perf_timer.h | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10c80dbad..2525cf8ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1123,9 +1123,9 @@ if(MINGW)
   set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wa,-mbig-obj")
   set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi;crypt32;bcrypt)
   if(DEPENDS)
-    set(ICU_LIBRARIES icuio icui18n icuuc icudata icutu iconv)
+    set(ICU_LIBRARIES iconv)
   else()
-    set(ICU_LIBRARIES icuio icuin icuuc icudt icutu iconv)
+    set(ICU_LIBRARIES iconv)
   endif()
 elseif(APPLE OR OPENBSD OR ANDROID)
   set(EXTRA_LIBRARIES "")
diff --git a/src/common/perf_timer.h b/src/common/perf_timer.h
index c6120b06d..a96da6e56 100644
--- a/src/common/perf_timer.h
+++ b/src/common/perf_timer.h
@@ -28,6 +28,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <string>
 #include <stdio.h>
 #include <memory>
-- 
2.51.0