From 7c2ba8137919086094c36a406e195ccbaa10595f Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 29 Aug 2006 04:14:27 +0000 Subject: - fix for child reaping Submitted by: Scott Hazen Mueller --- news/nntp/Makefile | 2 +- news/nntp/files/patch-server-netaux.c | 23 ++++++++++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) (limited to 'news') diff --git a/news/nntp/Makefile b/news/nntp/Makefile index fb3fb67..dd0a7e1 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -7,7 +7,7 @@ PORTNAME= nntp PORTVERSION= 1.5.12.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= news MASTER_SITES= ftp://ftp.dinoex.org/pub/c-news/ DISTNAME= ${PORTNAME}.${PORTVERSION} diff --git a/news/nntp/files/patch-server-netaux.c b/news/nntp/files/patch-server-netaux.c index f606f44..197b23c 100644 --- a/news/nntp/files/patch-server-netaux.c +++ b/news/nntp/files/patch-server-netaux.c @@ -1,11 +1,24 @@ ---- server/netaux.c.orig Tue Jun 4 21:22:30 2002 -+++ server/netaux.c Tue Jun 4 21:23:10 2002 -@@ -261,7 +261,7 @@ +--- server/netaux.c.orig Tue Nov 1 07:08:56 1994 ++++ server/netaux.c Sun Aug 27 21:52:42 2006 +@@ -20,6 +20,9 @@ + #else + #include + #endif ++#ifdef BSD_44 ++#include ++#endif + /* + * read_again -- (maybe) read in the active file again, +@@ -262,7 +265,11 @@ reaper() { --#ifndef USG -+#if !defined(USG) && !defined(BSD_44) + #ifndef USG ++#ifdef BSD_44 ++ int status; ++#else union wait status; ++#endif while (wait3(&status, WNOHANG, (struct rusage *)0) > 0) + ; -- cgit v1.1