summaryrefslogtreecommitdiff
path: root/Ports/mrsh/patches/hardcode-default-path.patch
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-04-12 18:08:50 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-07 17:00:39 +0200
commita07e12609e31b13dd6de04692defbc9e9ffa729f (patch)
tree86d13de5cb24391f36ce55bbe99cf714e5b3490f /Ports/mrsh/patches/hardcode-default-path.patch
parent020235a841f61e922dddb8eceb8cb511cf92d32b (diff)
downloadserenity-a07e12609e31b13dd6de04692defbc9e9ffa729f.zip
Ports/mrsh: Fix workdir, remove or upgrade patches
Also removes mrsh from the list of ports missing descriptions. I tried to be descriptive about the patches, but as I picked this port up from someone else, I'm not 100% sure how to best explain the patches.
Diffstat (limited to 'Ports/mrsh/patches/hardcode-default-path.patch')
-rw-r--r--Ports/mrsh/patches/hardcode-default-path.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/Ports/mrsh/patches/hardcode-default-path.patch b/Ports/mrsh/patches/hardcode-default-path.patch
deleted file mode 100644
index cb37cd68f0..0000000000
--- a/Ports/mrsh/patches/hardcode-default-path.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/shell/path.c 2020-02-03 18:04:51.852832611 +0300
-+++ b/shell/path.c 2020-02-03 18:06:50.023851071 +0300
-@@ -27,18 +27,23 @@
- return NULL;
- }
- } else {
-+/*
- size_t pathe_size = confstr(_CS_PATH, NULL, 0);
- if (pathe_size == 0) {
- return NULL;
- }
- pathe = malloc(pathe_size);
-+*/
-+ pathe = strdup("/bin:/usr/bin");
- if (pathe == NULL) {
- return NULL;
- }
-+/*
- if (confstr(_CS_PATH, pathe, pathe_size) != pathe_size) {
- free(pathe);
- return NULL;
- }
-+*/
- }
-
- static char path[PATH_MAX + 1];