summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-06-28 22:52:54 +0000
committerAnthony G. Basile <blueness@gentoo.org>2015-06-28 22:52:54 +0000
commit4ae481caa03d14ece8f65ac2919ce9d873e668f9 (patch)
tree203c7785ee5b07b11f4b2120e693ecf0f4dafca5 /sys-fs/ncdu/files
parentCleanup insecure and buggy versions. (diff)
downloadgentoo-2-4ae481caa03d14ece8f65ac2919ce9d873e668f9.tar.gz
gentoo-2-4ae481caa03d14ece8f65ac2919ce9d873e668f9.tar.bz2
gentoo-2-4ae481caa03d14ece8f65ac2919ce9d873e668f9.zip
Add missing <sys/wait.h>. Bug #550310.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'sys-fs/ncdu/files')
-rw-r--r--sys-fs/ncdu/files/ncdu-1.11-missing-header.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/ncdu/files/ncdu-1.11-missing-header.patch b/sys-fs/ncdu/files/ncdu-1.11-missing-header.patch
new file mode 100644
index 000000000000..4c79139f7b06
--- /dev/null
+++ b/sys-fs/ncdu/files/ncdu-1.11-missing-header.patch
@@ -0,0 +1,22 @@
+From 29f347c19cb7ad17c4b401e1d984fce8eafaaafa Mon Sep 17 00:00:00 2001
+From: Yorhel <git@yorhel.nl>
+Date: Tue, 7 Apr 2015 10:39:46 +0200
+Subject: shell.c: Include sys/wait.h
+
+Required for the W* macros on OpenBSD. Reported by Brian Callahan.
+
+diff --git a/src/shell.c b/src/shell.c
+index d601b5a..eb275cd 100644
+--- a/src/shell.c
++++ b/src/shell.c
+@@ -32,6 +32,7 @@
+ #include <ncurses.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <sys/wait.h>
+
+ void shell_draw() {
+ char *full_path;
+--
+cgit v0.10.1
+