sysutils/busybox: fix broken build
Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D22066
This commit is contained in:
parent
205268f65c
commit
18d48aac8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514650
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= busybox
|
||||
PORTVERSION= 1.31.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils misc shells
|
||||
MASTER_SITES= https://busybox.net/downloads/
|
||||
|
||||
|
12
sysutils/busybox/files/patch-shell_shell__common.c
Normal file
12
sysutils/busybox/files/patch-shell_shell__common.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- shell/shell_common.c.orig 2019-06-10 09:09:31 UTC
|
||||
+++ shell/shell_common.c
|
||||
@@ -328,7 +328,9 @@ struct limits {
|
||||
static const struct limits limits_tbl[] = {
|
||||
{ RLIMIT_CORE, 9, "core file size (blocks)" }, // -c
|
||||
{ RLIMIT_DATA, 10, "data seg size (kb)" }, // -d
|
||||
+#ifdef RLIMIT_NICE
|
||||
{ RLIMIT_NICE, 0, "scheduling priority" }, // -e
|
||||
+#endif
|
||||
{ RLIMIT_FSIZE, 9, "file size (blocks)" }, // -f
|
||||
#define LIMIT_F_IDX 3
|
||||
#ifdef RLIMIT_SIGPENDING
|
Loading…
Reference in New Issue
Block a user