aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-09-06 19:24:45 +0800
committerdinoex <dinoex@FreeBSD.org>2004-09-06 19:24:45 +0800
commitafd4e17a91ecf2b4b4172d3781338376f4645817 (patch)
treeda3ad3254ba85869d75be754ffb6a5ede507068e /news
parent7b78b6f46dc6d9924c8017496f08930de694bd3f (diff)
downloadfreebsd-ports-gnome-afd4e17a91ecf2b4b4172d3781338376f4645817.tar.gz
freebsd-ports-gnome-afd4e17a91ecf2b4b4172d3781338376f4645817.tar.zst
freebsd-ports-gnome-afd4e17a91ecf2b4b4172d3781338376f4645817.zip
- fix build on sparc64
Approved by: portmgr (eik)
Diffstat (limited to 'news')
-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 31613c663306..6d7a72d8eb03 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();