summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-ax
diff options
context:
space:
mode:
Diffstat (limited to 'news/nn/patches/patch-ax')
-rw-r--r--news/nn/patches/patch-ax10
1 files changed, 5 insertions, 5 deletions
diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax
index 48768757e39..8d1dd664db2 100644
--- a/news/nn/patches/patch-ax
+++ b/news/nn/patches/patch-ax
@@ -1,19 +1,19 @@
-$NetBSD: patch-ax,v 1.7 2006/10/15 16:43:37 schwarz Exp $
+$NetBSD: patch-ax,v 1.8 2006/11/12 01:28:03 rillig Exp $
--- nntp.c.orig 2005-04-20 01:06:51.000000000 +0200
-+++ nntp.c 2006-10-15 15:20:58.000000000 +0200
-@@ -57,8 +57,9 @@
++++ nntp.c 2006-11-12 02:14:49.000000000 +0100
+@@ -57,8 +58,9 @@
#endif
/* This is necessary due to the definitions in m-XXX.h */
+/* IRIX needs it for struct sockaddr_in */
-#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER)
-+#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) || defined(__sgi)
++#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) || defined(__sgi) || defined(__NetBSD__)
#include <netinet/in.h>
#endif
-@@ -915,7 +916,11 @@
+@@ -915,7 +917,11 @@ nntp_check(void)
server_real_name = hp->h_name;
else
nn_exitmsg(1, "NNTPSERVER is invalid");