summaryrefslogtreecommitdiff
path: root/patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2026-03-09 18:05:16 +0100
committerGitHub <noreply@github.com>2026-03-09 18:05:16 +0100
commit2c11591e02b907e63d8fd4fcb0a6559625934a95 (patch)
treedab95d36703f314a8ee9d6277a160df16833c4e5 /patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch
parent411e8a1cdb3f4c2812d83f28c335d2a4eb18bd29 (diff)
reproducibility (#177)
* reproducibility * wip: ci fixes, drop generate_translations_header.c * minor fixes * fix patch * fix: toolchain * bump hash * fix: minor build issue fixes * fix: x86_64-w64-mingw32 * wip * wip * all updated :o * fix: reduce git size * update checksum remove CI * chore, more optimal dockerfile * update monero to v0.18.4.6 * update checksum * update * minor patch update * fix: no command specified * fix: correct path * alpine * stupid. * AAWASTREYDRFUGTIHYJHGUTYFRDTFYVGUBHINJHGTYFRDSRTXDTCFHBJ
Diffstat (limited to 'patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch')
-rw-r--r--patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch b/patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch
new file mode 100644
index 0000000..84b4b99
--- /dev/null
+++ b/patches/monero/0018-depends-remove-icu4c-monero-project-monero-8880.patch
@@ -0,0 +1,39 @@
+From 960a5efe59725eab4c03ce8025de8fc0fbffaacf Mon Sep 17 00:00:00 2001
+From: Czarek Nakamoto <cyjan@mrcyjanek.net>
+Date: Tue, 3 Mar 2026 13:55:59 +0100
+Subject: [PATCH 18/20] depends: remove icu4c monero-project/monero#8880
+
+---
+ CMakeLists.txt | 9 ++-------
+ 1 file changed, 2 insertions(+), 7 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ce5e1b557..25e034301 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1117,20 +1117,15 @@ 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()
+ # This is an extremely ugly hack to get around Boost not being built with static ICU.
+ # We reported the issue, we are waiting for upstream to fix this issue: https://github.com/boostorg/boost/issues/1079#issue-3384962885
+ # This hack links shared ICU libs to avoid linker errors we get in MSYS2 compilation (undefined symbols to ICU).
+ set(OLD_LIB_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a")
+- find_library(ICUIO_LIBRARIES NAMES icuio REQUIRED)
+- find_library(ICUIN_LIBRARIES NAMES icuin REQUIRED)
+- find_library(ICUUC_LIBRARIES NAMES icuuc REQUIRED)
+- find_library(ICUDT_LIBRARIES NAMES icudt REQUIRED)
+- find_library(ICUTU_LIBRARIES NAMES icutu REQUIRED)
+ find_library(ICONV_LIBRARIES NAMES iconv REQUIRED)
+- set(ICU_LIBRARIES ${ICUIO_LIBRARIES} ${ICUIN_LIBRARIES} ${ICUUC_LIBRARIES} ${ICUDT_LIBRARIES} ${ICUTU_LIBRARIES} ${ICONV_LIBRARIES})
++ set(ICU_LIBRARIES ${ICUIO_LIBRARIES} ${ICONV_LIBRARIES})
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ${OLD_LIB_SUFFIXES})
+ endif()
+ elseif(APPLE OR OPENBSD OR ANDROID)
+--
+2.50.1 (Apple Git-155)
+