icu: support large file and large file offset

This may break ABI for ustdio.h's users on 32 bits system.
This commit is contained in:
Đoàn Trần Công Danh 2023-05-12 20:47:12 +07:00
parent cb3e5d7b48
commit 2eb5bf564f
2 changed files with 9 additions and 9 deletions

View file

@ -528,12 +528,12 @@ libkImageAnnotator.so.0 kImageAnnotator-0.4.1_1
libkColorPicker.so.0 kColorPicker-0.1.5_1 libkColorPicker.so.0 kColorPicker-0.1.5_1
libbabl-0.1.so.0 babl-0.1.16_1 libbabl-0.1.so.0 babl-0.1.16_1
libbamf3.so.2 bamf-0.5.1_1 libbamf3.so.2 bamf-0.5.1_1
libicuio.so.72 icu-libs-72.1_1 libicuio.so.72 icu-libs-72.1_2
libicui18n.so.72 icu-libs-72.1_1 libicui18n.so.72 icu-libs-72.1_2
libicudata.so.72 icu-libs-72.1_1 libicudata.so.72 icu-libs-72.1_2
libicutu.so.72 icu-libs-72.1_1 libicutu.so.72 icu-libs-72.1_2
libicuuc.so.72 icu-libs-72.1_1 libicuuc.so.72 icu-libs-72.1_2
libicutest.so.72 icu-libs-72.1_1 libicutest.so.72 icu-libs-72.1_2
libaspell.so.15 libaspell-0.60.8_2 libaspell.so.15 libaspell-0.60.8_2
libpspell.so.15 libaspell-0.60.8_2 libpspell.so.15 libaspell-0.60.8_2
libenchant-2.so.2 enchant2-2.2.3_1 libenchant-2.so.2 enchant2-2.2.3_1

View file

@ -3,7 +3,7 @@
# next soname bump. # next soname bump.
pkgname=icu pkgname=icu
version=72.1 version=72.1
revision=1 revision=2
build_wrksrc=source build_wrksrc=source
build_style=gnu-configure build_style=gnu-configure
# use archive data instead of .so data for correct cross-compiling # use archive data instead of .so data for correct cross-compiling
@ -17,8 +17,8 @@ homepage="https://home.unicode.org/"
distfiles="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz" distfiles="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz"
checksum=a2d2d38217092a7ed56635e34467f92f976b370e20182ad325edea6681a71d68 checksum=a2d2d38217092a7ed56635e34467f92f976b370e20182ad325edea6681a71d68
CFLAGS=-fPIC CFLAGS="-fPIC -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
CXXFLAGS=-fPIC CXXFLAGS="-fPIC -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
# we will be managing icudata manually, because when cross-compiling for # we will be managing icudata manually, because when cross-compiling for
# another endianness the output data is broken... fortunately, we can use # another endianness the output data is broken... fortunately, we can use