summaryrefslogtreecommitdiff
path: root/Ports/oksh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-06-01 01:43:36 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-01 11:02:34 +0100
commit34776752f802061de683a17f32474e09dbc80be3 (patch)
tree0f8adac1230d0fe6a4e359dad9f85d70f2e7f890 /Ports/oksh
parentfd9125c288ef291a000960ba6d30dc40a04d84df (diff)
downloadserenity-34776752f802061de683a17f32474e09dbc80be3.zip
Ports: Remove the `nice` stub from `oksh`
Diffstat (limited to 'Ports/oksh')
-rw-r--r--Ports/oksh/patches/0001-Add-some-compat-macros-for-serenity.patch3
1 files changed, 1 insertions, 2 deletions
diff --git a/Ports/oksh/patches/0001-Add-some-compat-macros-for-serenity.patch b/Ports/oksh/patches/0001-Add-some-compat-macros-for-serenity.patch
index fa93c69ef7..bdcc56b700 100644
--- a/Ports/oksh/patches/0001-Add-some-compat-macros-for-serenity.patch
+++ b/Ports/oksh/patches/0001-Add-some-compat-macros-for-serenity.patch
@@ -20,7 +20,7 @@ index 5c86edd..6ccf7f6 100644
#define _PW_NAME_LEN 8
#else
#define _PW_NAME_LEN MAXLOGNAME - 1
-@@ -116,6 +116,15 @@
+@@ -116,6 +116,14 @@
#define nice(x) (int)0
#endif /* __HAIKU__ */
@@ -30,7 +30,6 @@ index 5c86edd..6ccf7f6 100644
+#define _CS_PATH 1
+#define WCOREFLAG 0200
+#define WCOREDUMP(x) ((x) & WCOREFLAG)
-+#define nice(x) (int)0
+#endif /* __serenity__ */
+
#ifndef HAVE_SETRESGID