summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch')
-rw-r--r--sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch b/sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch
new file mode 100644
index 000000000000..0605310bff42
--- /dev/null
+++ b/sys-apps/darwin-miscutils/files/darwin-miscutils-5-stdlib.patch
@@ -0,0 +1,20 @@
+--- misc_cmds-23/leave/leave.c
++++ misc_cmds-23/leave/leave.c
+@@ -34,6 +34,7 @@
+ */
+
+ #include <sys/cdefs.h>
++#include <stdlib.h>
+ #ifndef lint
+ __COPYRIGHT("@(#) Copyright (c) 1980, 1988, 1993\n\
+ The Regents of the University of California. All rights reserved.\n");
+--- shell_cmds-118/alias/alias.c
++++ shell_cmds-118/alias/alias.c
+@@ -3,6 +3,7 @@
+ the shell scripts. It does not lead to any deliverable. Do not remove this
+ file from this (..../shell_cmds/alias) directory.
+ */
++#include <stdlib.h>
+ int main()
+ {
+ exit(0);