diff --git a/news/newsfetch/patches/patch-net_c b/news/newsfetch/patches/patch-net_c index 9e35f5cb6e8..1812f40d3de 100644 --- a/news/newsfetch/patches/patch-net_c +++ b/news/newsfetch/patches/patch-net_c @@ -1,14 +1,7 @@ -$OpenBSD: patch-net_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ ---- net.c.orig Mon Apr 13 03:09:26 1998 -+++ net.c Tue Jul 23 11:52:31 2002 -@@ -1,13 +1,15 @@ -- - #include - #include - #include - #include -+#include - #include +$OpenBSD: patch-net_c,v 1.2 2012/08/06 20:32:22 naddy Exp $ +--- net.c.orig Mon Apr 13 11:09:26 1998 ++++ net.c Mon Aug 6 22:23:24 2012 +@@ -7,7 +7,9 @@ #include #include #include diff --git a/news/newsfetch/patches/patch-newsfetch_c b/news/newsfetch/patches/patch-newsfetch_c index e1e70329afc..533425e7385 100644 --- a/news/newsfetch/patches/patch-newsfetch_c +++ b/news/newsfetch/patches/patch-newsfetch_c @@ -1,12 +1,19 @@ -$OpenBSD: patch-newsfetch_c,v 1.1 2002/07/23 17:58:56 pvalchev Exp $ ---- newsfetch.c.orig Thu Jul 23 03:28:56 1998 -+++ newsfetch.c Tue Jul 23 11:27:03 2002 -@@ -17,7 +17,7 @@ +$OpenBSD: patch-newsfetch_c,v 1.2 2012/08/06 20:32:22 naddy Exp $ +--- newsfetch.c.orig Thu Jul 23 11:28:56 1998 ++++ newsfetch.c Mon Aug 6 22:24:26 2012 +@@ -7,6 +7,7 @@ + + + #include ++#include + #include + #include + #include +@@ -17,6 +18,7 @@ #include #include #include -- +#include + #include "newsfetch.h" - extern char **environ; diff --git a/news/newsfetch/patches/patch-nntp_c b/news/newsfetch/patches/patch-nntp_c new file mode 100644 index 00000000000..257204125ba --- /dev/null +++ b/news/newsfetch/patches/patch-nntp_c @@ -0,0 +1,9 @@ +$OpenBSD: patch-nntp_c,v 1.1 2012/08/06 20:32:22 naddy Exp $ +--- nntp.c.orig Mon Aug 6 22:25:44 2012 ++++ nntp.c Mon Aug 6 22:26:07 2012 +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + #include diff --git a/news/newsfetch/patches/patch-util_c b/news/newsfetch/patches/patch-util_c index e1c26368bf7..9e1833c2901 100644 --- a/news/newsfetch/patches/patch-util_c +++ b/news/newsfetch/patches/patch-util_c @@ -1,7 +1,12 @@ -$OpenBSD: patch-util_c,v 1.2 2004/01/04 21:39:33 espie Exp $ ---- util.c.orig 1998-04-13 09:47:40.000000000 +0200 -+++ util.c 2004-01-04 22:37:14.000000000 +0100 -@@ -5,6 +5,7 @@ +$OpenBSD: patch-util_c,v 1.3 2012/08/06 20:32:22 naddy Exp $ +--- util.c.orig Mon Apr 13 09:47:40 1998 ++++ util.c Mon Aug 6 22:24:53 2012 +@@ -1,10 +1,12 @@ + #include ++#include + #include + #include + #include #include #include #include @@ -9,7 +14,7 @@ $OpenBSD: patch-util_c,v 1.2 2004/01/04 21:39:33 espie Exp $ #include "newsfetch.h" extern int errno; -@@ -61,16 +62,16 @@ generateProcmailrc(char *homedir, char * +@@ -61,16 +63,16 @@ generateProcmailrc(char *homedir, char *rcfile, char * FILE *fp, *fp1, *fp2; char *tmp, buf[200], group[180], filterfile[100], procmailrcfile[100]; int i,j;