mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 22:05:23 +01:00
Add patch headers
Also cleanup the flex patch a bit
This commit is contained in:
parent
9961c4b75f
commit
f7ea086630
19 changed files with 83 additions and 16 deletions
|
|
@ -1,3 +1,7 @@
|
|||
We do not have /dev at this stage of the bootstrap, including /dev/tty. For
|
||||
some reason, bash has a fixation on /dev/tty, even though we are not
|
||||
interactive. Removing this check entirely fixes this issue.
|
||||
|
||||
diff --color -ru shell.c
|
||||
--- shell.c 2002-07-02 01:27:11.000000000 +1000
|
||||
+++ shell.c 2021-01-16 11:23:36.407287955 +1100
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
--- builtins/common.c.bak 2021-01-15 21:32:56.938683418 +1100
|
||||
tinycc's extern support is bad. i.e. these externs don't propagate through.
|
||||
|
||||
--- builtins/common.c 2021-01-15 21:32:56.938683418 +1100
|
||||
+++ builtins/common.c 2021-01-15 21:34:09.102153806 +1100
|
||||
@@ -46,6 +46,9 @@
|
||||
#include "../flags.h"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
mes libc + setting locale = not worky.
|
||||
|
||||
--- locale.c 2021-01-15 09:38:55.729307629 +1100
|
||||
+++ locale.c 2021-01-15 11:19:01.929391346 +1100
|
||||
@@ -190,7 +190,7 @@
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
mes libc does not have locale support...
|
||||
|
||||
diff --git lib/sh/snprintf.c lib/sh/snprintf.c
|
||||
index 7669576..747aeba 100644
|
||||
--- lib/sh/snprintf.c
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
--- ../bash-2.05b.bak/execute_cmd.c 2021-01-15 09:38:55.730307635 +1100
|
||||
We don't actually want any of these things, which should really be hidden
|
||||
behind the ifdefs given here to disable them when they are not being
|
||||
used (as we do).
|
||||
|
||||
--- execute_cmd.c 2021-01-15 09:38:55.730307635 +1100
|
||||
+++ execute_cmd.c 2021-01-15 09:43:41.046896754 +1100
|
||||
@@ -286,12 +286,18 @@
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
int name, namelen; is wrong for mes libc, it is char* name, so we modify tinycc
|
||||
to reflect this.
|
||||
|
||||
diff --git lib/sh/oslib.c lib/sh/oslib.c
|
||||
index 90d7be9..37fdf2a 100644
|
||||
--- lib/sh/oslib.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue