mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +01:00
Regenerate musl 1.1 using musl-chartable-tools
This commit is contained in:
parent
bd4051d110
commit
838051151c
5 changed files with 99 additions and 0 deletions
21
steps/musl-1.1.24/files/cut.patch
Normal file
21
steps/musl-1.1.24/files/cut.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
SPDX-FileCopyrightText: 2024 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: MIT
|
||||
(as per https://github.com/richfelker/musl-chartable-tools/issues/3)
|
||||
|
||||
For musl-chartable-tools.
|
||||
|
||||
For the earliest build where we use this, cut is bugged (always says out of
|
||||
memory). We replace the cut command with equivalent sed commands.
|
||||
|
||||
--- musl-chartable-tools-44d780e03e78efcb3168ceab068170206dc92e85/iconv/Makefile 2024-12-21 12:45:54.752170920 +1100
|
||||
+++ musl-chartable-tools-44d780e03e78efcb3168ceab068170206dc92e85/iconv/Makefile 2024-12-21 12:49:07.040155495 +1100
|
||||
@@ -12,7 +12,7 @@
|
||||
legacychars.h: arrayify $(CHARMAPS)
|
||||
cat $(CHARMAPS) \
|
||||
| grep -v '^0x.. 0x00..' | grep ^0x[0123456789ABCDEFabcdef] \
|
||||
- | cut -d' ' -f2 | tr a-z A-Z | sort -u \
|
||||
+ | sed 's/[^\t]*\t//' | sed 's/\t.*//' | tr a-z A-Z | sort -u \
|
||||
| ./arrayify > $@
|
||||
|
||||
mkcodepage: mkcodepage.c legacychars.h
|
||||
Loading…
Add table
Add a link
Reference in a new issue