From 93a354611e38a6949add5c2e5ccc93ef79b9755f Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Tue, 3 Jun 2025 14:32:36 +0000 Subject: Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI] --- icu/build.patch | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 icu/build.patch (limited to 'icu/build.patch') diff --git a/icu/build.patch b/icu/build.patch new file mode 100644 index 00000000..c459b725 --- /dev/null +++ b/icu/build.patch @@ -0,0 +1,37 @@ +--- a/source/common/putil.cpp ++++ b/source/common/putil.cpp +@@ -39,6 +39,8 @@ + ****************************************************************************** + */ + ++#define ICU_DATA_DIR "/usr/share/icu/76.1" ++ + // Defines _XOPEN_SOURCE for access to POSIX functions. + // Must be before any other #includes. + #include "uposixdefs.h" +--- a/source/config/mh-linux ++++ b/source/config/mh-linux +@@ -23,7 +23,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN + LD_RPATH_PRE = -Wl,-rpath, + + ## These are the library specific LDFLAGS +-LDFLAGSICUDT=-nodefaultlibs -nostdlib ++LDFLAGSICUDT=-nodefaultlibs + + ## Compiler switch to embed a library name + # The initial tab in the next line is to prevent icu-config from reading it. +--- a/source/configure ++++ b/source/configure +@@ -7210,10 +7210,10 @@ fi + + if test "$ac_cv_header_xlocale_h" = yes; then + U_HAVE_XLOCALE_H=1 +- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1" ++ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0 -DU_HAVE_XLOCALE_H=1" + else + U_HAVE_XLOCALE_H=0 +- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0" ++ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0 -DU_HAVE_XLOCALE_H=0" + fi + else + CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0" -- cgit v1.2.3