summaryrefslogtreecommitdiffstats
path: root/news/nntp
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-09-06 11:24:45 +0000
committerdinoex <dinoex@FreeBSD.org>2004-09-06 11:24:45 +0000
commitafd4e17a91ecf2b4b4172d3781338376f4645817 (patch)
treeda3ad3254ba85869d75be754ffb6a5ede507068e /news/nntp
parent7b78b6f46dc6d9924c8017496f08930de694bd3f (diff)
downloadFreeBSD-ports-afd4e17a91ecf2b4b4172d3781338376f4645817.zip
FreeBSD-ports-afd4e17a91ecf2b4b4172d3781338376f4645817.tar.gz
- fix build on sparc64
Approved by: portmgr (eik)
Diffstat (limited to 'news/nntp')
-rw-r--r--news/nntp/files/patch-server-batch.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/news/nntp/files/patch-server-batch.c b/news/nntp/files/patch-server-batch.c
index 31613c6..6d7a72d 100644
--- a/news/nntp/files/patch-server-batch.c
+++ b/news/nntp/files/patch-server-batch.c
@@ -1,6 +1,19 @@
--- server/batch.c.orig Fri Dec 9 03:52:44 1994
-+++ server/batch.c Mon Nov 4 05:45:49 2002
-@@ -31,7 +31,9 @@
++++ server/batch.c Mon Sep 6 12:25:18 2004
+@@ -20,18 +20,22 @@
+ */
+ #include "common.h"
+ #include <signal.h>
++#ifndef __FreeBSD__
+ #ifdef sparc
+ #ifndef SVR4
+ #include <vfork.h>
+ #endif
+ #endif
++#endif
+ #ifdef BATCHED_INPUT
+ #define YES 1
+ #define NO 0
/* imports */
extern time_t time();
OpenPOWER on IntegriCloud