aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tesseract/fix_static_link_icu.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tesseract/fix_static_link_icu.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tesseract/fix_static_link_icu.patch')
-rw-r--r--vcpkg/ports/tesseract/fix_static_link_icu.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/tesseract/fix_static_link_icu.patch b/vcpkg/ports/tesseract/fix_static_link_icu.patch
new file mode 100644
index 0000000..8e7c101
--- /dev/null
+++ b/vcpkg/ports/tesseract/fix_static_link_icu.patch
@@ -0,0 +1,13 @@
+diff --git a/src/training/CMakeLists.txt b/src/training/CMakeLists.txt
+index 429ed04..9878fa5 100644
+--- a/src/training/CMakeLists.txt
++++ b/src/training/CMakeLists.txt
+@@ -72,7 +72,7 @@ if(NOT SW_BUILD)
+ if(PKG_CONFIG_FOUND)
+ pkg_check_modules(ICU REQUIRED IMPORTED_TARGET icu-uc icu-i18n)
+ else()
+- find_package(ICU 52.1 COMPONENTS uc i18n)
++ find_package(ICU 72.1 COMPONENTS uc i18n dt)
+ endif()
+ if(ICU_FOUND)
+ message(">> ICU_FOUND ${ICU_FOUND} ${ICU_VERSION} ${ICU_LIBRARIES} ${ICU_INCLUDE_DIRS}")