alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

build.patch (1318B)


      1 --- a/source/common/putil.cpp
      2 +++ b/source/common/putil.cpp
      3 @@ -39,6 +39,8 @@
      4  ******************************************************************************
      5  */
      6  
      7 +#define ICU_DATA_DIR "/usr/share/icu/76.1"
      8 +
      9  // Defines _XOPEN_SOURCE for access to POSIX functions.
     10  // Must be before any other #includes.
     11  #include "uposixdefs.h"
     12 --- a/source/config/mh-linux
     13 +++ b/source/config/mh-linux
     14 @@ -23,7 +23,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
     15  LD_RPATH_PRE = -Wl,-rpath,
     16  
     17  ## These are the library specific LDFLAGS
     18 -LDFLAGSICUDT=-nodefaultlibs -nostdlib
     19 +LDFLAGSICUDT=-nodefaultlibs
     20  
     21  ## Compiler switch to embed a library name
     22  # The initial tab in the next line is to prevent icu-config from reading it.
     23 --- a/source/configure
     24 +++ b/source/configure
     25 @@ -7210,10 +7210,10 @@ fi
     26  
     27      if test "$ac_cv_header_xlocale_h" = yes; then
     28        U_HAVE_XLOCALE_H=1
     29 -      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1"
     30 +      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0 -DU_HAVE_XLOCALE_H=1"
     31      else
     32        U_HAVE_XLOCALE_H=0
     33 -      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0"
     34 +      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0 -DU_HAVE_XLOCALE_H=0"
     35      fi
     36  else
     37      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"