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 \

View file

@ -4,6 +4,21 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
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() {
./configure \
--host=i386-unknown-linux-musl \

View file

@ -1 +1,2 @@
https://musl.libc.org/releases/musl-1.2.5.tar.gz a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4
git://github.com/richfelker/musl-chartable-tools~78b213a868553b1154ee9627c96ff1f14a9a3b1b https://github.com/richfelker/musl-chartable-tools/archive/78b213a868553b1154ee9627c96ff1f14a9a3b1b.tar.gz bb52d7c11b663c2d1c5957fd862758d1da7e65b53c0a8ecfb9110d02c04badb6