aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-08-29 12:14:27 +0800
committerdinoex <dinoex@FreeBSD.org>2006-08-29 12:14:27 +0800
commit7c2ba8137919086094c36a406e195ccbaa10595f (patch)
treefec739b8713cb1e3b049dad0f290596d943dc340 /news
parent2c71193fa0b4c05ddd5d021e1ba914b39ca48907 (diff)
downloadfreebsd-ports-gnome-7c2ba8137919086094c36a406e195ccbaa10595f.tar.gz
freebsd-ports-gnome-7c2ba8137919086094c36a406e195ccbaa10595f.tar.zst
freebsd-ports-gnome-7c2ba8137919086094c36a406e195ccbaa10595f.zip
- fix for child reaping
Submitted by: Scott Hazen Mueller
Diffstat (limited to 'news')
-rw-r--r--news/nntp/Makefile2
-rw-r--r--news/nntp/files/patch-server-netaux.c23
2 files changed, 19 insertions, 6 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index fb3fb67cf3be..dd0a7e119321 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 f606f444ecd7..197b23c6ae87 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 <sys/time.h>
+ #endif
++#ifdef BSD_44
++#include <sys/resource.h>
++#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)
+ ;