Add musl-chartable-tools to musl 1.2.5

This commit is contained in:
fosslinux 2025-02-03 15:57:03 +11:00
parent 838051151c
commit 578c9338b6
3 changed files with 31 additions and 0 deletions

View file

@ -13,6 +13,21 @@ src_get() {
fi
}
src_prepare() {
default
# regenerate headers in src/ctype and src/iconv
cd ../musl-chartable-tools-78b213a868553b1154ee9627c96ff1f14a9a3b1b
cd ctype
CC="gcc -std=c99" make
cp alpha.h punct.h nonspacing.h wide.h ../../musl-1.2.5/src/ctype/
cd ../iconv
CC="gcc -std=c99" make
cp legacychars.h codepages.h jis0208.h gb18030.h hkscs.h ksc.h revjis.h \
../../musl-1.2.5/src/locale/
cd ../../musl-1.2.5
}
src_configure() {
CC=gcc ./configure \
--host=i386-unknown-linux-musl \