blueness    15/06/28 22:52:54

  Added:                ncdu-1.11-missing-header.patch
  Log:
  Add missing <sys/wait.h>.  Bug #550310.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.1                  sys-fs/ncdu/files/ncdu-1.11-missing-header.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ncdu/files/ncdu-1.11-missing-header.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/ncdu/files/ncdu-1.11-missing-header.patch?rev=1.1&content-type=text/plain

Index: ncdu-1.11-missing-header.patch
===================================================================
>From 29f347c19cb7ad17c4b401e1d984fce8eafaaafa Mon Sep 17 00:00:00 2001
From: Yorhel <[email protected]>
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





Reply via email to