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-ax17
1 files changed, 14 insertions, 3 deletions
diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax
index 9687055b166..48768757e39 100644
--- a/news/nn/patches/patch-ax
+++ b/news/nn/patches/patch-ax
@@ -1,8 +1,19 @@
-$NetBSD: patch-ax,v 1.6 2006/10/14 19:33:45 schwarz Exp $
+$NetBSD: patch-ax,v 1.7 2006/10/15 16:43:37 schwarz Exp $
--- nntp.c.orig 2005-04-20 01:06:51.000000000 +0200
-+++ nntp.c 2006-10-14 20:33:45.000000000 +0200
-@@ -915,7 +915,11 @@
++++ nntp.c 2006-10-15 15:20:58.000000000 +0200
+@@ -57,8 +57,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)
+ #include <netinet/in.h>
+ #endif
+
+@@ -915,7 +916,11 @@
server_real_name = hp->h_name;
else
nn_exitmsg(1, "NNTPSERVER is invalid");