Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
574ac5c5
Verified
Commit
574ac5c5
authored
2 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for bash recipe
parent
51ea7d27
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/bash/recipe.toml
+2
-2
2 additions, 2 deletions
recipes/bash/recipe.toml
recipes/bash/redox.patch
+20
-8
20 additions, 8 deletions
recipes/bash/redox.patch
with
22 additions
and
10 deletions
recipes/bash/recipe.toml
+
2
−
2
View file @
574ac5c5
...
@@ -10,11 +10,11 @@ wget -O support/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/ra
...
@@ -10,11 +10,11 @@ wget -O support/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/ra
[build]
[build]
template
=
"custom"
template
=
"custom"
dependencies
=
[
dependencies
=
[
"gettext"
"gettext"
,
"readline"
,
]
]
script
=
"""
script
=
"""
COOKBOOK_CONFIGURE_FLAGS+=(
COOKBOOK_CONFIGURE_FLAGS+=(
--disable-readline
bash_cv_getenv_redef=no
bash_cv_getenv_redef=no
)
)
COOKBOOK_MAKE_JOBS=1 # workaround for parallel make bugs
COOKBOOK_MAKE_JOBS=1 # workaround for parallel make bugs
...
...
This diff is collapsed.
Click to expand it.
recipes/bash/redox.patch
+
20
−
8
View file @
574ac5c5
diff -ruwN source/bashline.c source-new/bashline.c
--- source/bashline.c 2016-08-05 19:44:05.000000000 -0600
+++ source-new/bashline.c 2022-08-04 09:09:21.816427263 -0600
@@ -2465,7 +2465,7 @@
const char *text;
int state;
{
-#if defined (__WIN32__) || defined (__OPENNT) || !defined (HAVE_GRP_H)
+#if defined (__WIN32__) || defined (__OPENNT) || !defined (HAVE_GRP_H) || defined(__redox__)
return ((char *)NULL);
#else
static char *gname = (char *)NULL;
diff -ruwN source/builtins/ulimit.def source-new/builtins/ulimit.def
diff -ruwN source/builtins/ulimit.def source-new/builtins/ulimit.def
--- source/builtins/ulimit.def 2016-03-11 07:18:54.000000000 -0700
--- source/builtins/ulimit.def 2016-03-11 07:18:54.000000000 -0700
+++ source-new/builtins/ulimit.def 202
0-07-14 20:52:15.875646
75
2
-0600
+++ source-new/builtins/ulimit.def 202
2-08-04 09:07:18.4130335
75 -0600
@@ -598,7 +598,7 @@
@@ -598,7 +598,7 @@
}
}
else
else
...
@@ -12,7 +24,7 @@ diff -ruwN source/builtins/ulimit.def source-new/builtins/ulimit.def
...
@@ -12,7 +24,7 @@ diff -ruwN source/builtins/ulimit.def source-new/builtins/ulimit.def
# if defined (HPUX9)
# if defined (HPUX9)
diff -ruwN source/config-top.h source-new/config-top.h
diff -ruwN source/config-top.h source-new/config-top.h
--- source/config-top.h 2016-05-19 12:34:02.000000000 -0600
--- source/config-top.h 2016-05-19 12:34:02.000000000 -0600
+++ source-new/config-top.h 202
0-07-14 20:50:54.546545430
-0600
+++ source-new/config-top.h 202
2-08-04 09:07:18.413033575
-0600
@@ -63,14 +63,14 @@
@@ -63,14 +63,14 @@
/* The default value of the PATH variable. */
/* The default value of the PATH variable. */
#ifndef DEFAULT_PATH_VALUE
#ifndef DEFAULT_PATH_VALUE
...
@@ -32,7 +44,7 @@ diff -ruwN source/config-top.h source-new/config-top.h
...
@@ -32,7 +44,7 @@ diff -ruwN source/config-top.h source-new/config-top.h
/* Default primary and secondary prompt strings. */
/* Default primary and secondary prompt strings. */
diff -ruwN source/configure.ac source-new/configure.ac
diff -ruwN source/configure.ac source-new/configure.ac
--- source/configure.ac 2016-09-07 14:56:28.000000000 -0600
--- source/configure.ac 2016-09-07 14:56:28.000000000 -0600
+++ source-new/configure.ac 202
0-07-14 20:50:54.55054548
5 -0600
+++ source-new/configure.ac 202
2-08-04 09:07:18.41303357
5 -0600
@@ -90,6 +90,7 @@
@@ -90,6 +90,7 @@
*-opennt*|*-interix*) opt_bash_malloc=no ;; # Interix, now owned by Microsoft
*-opennt*|*-interix*) opt_bash_malloc=no ;; # Interix, now owned by Microsoft
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
*-nsk*) opt_bash_malloc=no ;; # HP NonStop
...
@@ -43,7 +55,7 @@ diff -ruwN source/configure.ac source-new/configure.ac
...
@@ -43,7 +55,7 @@ diff -ruwN source/configure.ac source-new/configure.ac
# memory scrambling on free()
# memory scrambling on free()
diff -ruwN source/execute_cmd.c source-new/execute_cmd.c
diff -ruwN source/execute_cmd.c source-new/execute_cmd.c
--- source/execute_cmd.c 2016-08-26 05:10:08.000000000 -0600
--- source/execute_cmd.c 2016-08-26 05:10:08.000000000 -0600
+++ source-new/execute_cmd.c 202
0-07-14 20:50:54.55054548
5 -0600
+++ source-new/execute_cmd.c 202
2-08-04 09:07:18.41303357
5 -0600
@@ -1335,15 +1335,17 @@
@@ -1335,15 +1335,17 @@
nullcmd = (command == 0) || (command->type == cm_simple && command->value.Simple->words == 0 && command->value.Simple->redirects == 0);
nullcmd = (command == 0) || (command->type == cm_simple && command->value.Simple->words == 0 && command->value.Simple->redirects == 0);
if (posixly_correct && nullcmd)
if (posixly_correct && nullcmd)
...
@@ -65,7 +77,7 @@ diff -ruwN source/execute_cmd.c source-new/execute_cmd.c
...
@@ -65,7 +77,7 @@ diff -ruwN source/execute_cmd.c source-new/execute_cmd.c
old_flags = command->flags;
old_flags = command->flags;
diff -ruwN source/general.c source-new/general.c
diff -ruwN source/general.c source-new/general.c
--- source/general.c 2016-08-11 09:16:56.000000000 -0600
--- source/general.c 2016-08-11 09:16:56.000000000 -0600
+++ source-new/general.c 202
0-07-14 20:50:54.55054548
5 -0600
+++ source-new/general.c 202
2-08-04 09:07:18.41303357
5 -0600
@@ -476,6 +476,7 @@
@@ -476,6 +476,7 @@
void
void
check_dev_tty ()
check_dev_tty ()
...
@@ -97,7 +109,7 @@ diff -ruwN source/general.c source-new/general.c
...
@@ -97,7 +109,7 @@ diff -ruwN source/general.c source-new/general.c
*p_index = i;
*p_index = i;
diff -ruwN source/include/posixwait.h source-new/include/posixwait.h
diff -ruwN source/include/posixwait.h source-new/include/posixwait.h
--- source/include/posixwait.h 2008-08-12 08:03:03.000000000 -0600
--- source/include/posixwait.h 2008-08-12 08:03:03.000000000 -0600
+++ source-new/include/posixwait.h 202
0-07-14 20:50:54.554545541
-0600
+++ source-new/include/posixwait.h 202
2-08-04 09:07:18.413033575
-0600
@@ -34,7 +34,7 @@
@@ -34,7 +34,7 @@
/* How to get the status of a job. For Posix, this is just an
/* How to get the status of a job. For Posix, this is just an
...
@@ -118,7 +130,7 @@ diff -ruwN source/include/posixwait.h source-new/include/posixwait.h
...
@@ -118,7 +130,7 @@ diff -ruwN source/include/posixwait.h source-new/include/posixwait.h
# define WSTOPSIG(s) ((s) >> 8)
# define WSTOPSIG(s) ((s) >> 8)
diff -ruwN source/lib/sh/getcwd.c source-new/lib/sh/getcwd.c
diff -ruwN source/lib/sh/getcwd.c source-new/lib/sh/getcwd.c
--- source/lib/sh/getcwd.c 2012-03-10 08:48:50.000000000 -0700
--- source/lib/sh/getcwd.c 2012-03-10 08:48:50.000000000 -0700
+++ source-new/lib/sh/getcwd.c 202
0-07-14 20:50:54.554545541
-0600
+++ source-new/lib/sh/getcwd.c 202
2-08-04 09:07:18.413033575
-0600
@@ -20,7 +20,7 @@
@@ -20,7 +20,7 @@
#include <config.h>
#include <config.h>
...
@@ -130,7 +142,7 @@ diff -ruwN source/lib/sh/getcwd.c source-new/lib/sh/getcwd.c
...
@@ -130,7 +142,7 @@ diff -ruwN source/lib/sh/getcwd.c source-new/lib/sh/getcwd.c
#pragma alloca
#pragma alloca
diff -ruwN source/sig.c source-new/sig.c
diff -ruwN source/sig.c source-new/sig.c
--- source/sig.c 2016-02-11 13:02:45.000000000 -0700
--- source/sig.c 2016-02-11 13:02:45.000000000 -0700
+++ source-new/sig.c 202
0-07-14 20:50:54.554545541
-0600
+++ source-new/sig.c 202
2-08-04 09:07:18.413033575
-0600
@@ -680,7 +680,9 @@
@@ -680,7 +680,9 @@
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment