diff options
author | joerg <joerg@pkgsrc.org> | 2006-12-01 13:54:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-12-01 13:54:27 +0000 |
commit | 5d11d98a4061812f5e92b22ff949c6adde08f4e8 (patch) | |
tree | ec3b18ed61fd7fc8d0420e9ef6618f6a9bf3d291 /news/nn/patches | |
parent | d7457ceaa4b80882423fc29918a86e6eec2246e9 (diff) | |
download | pkgsrc-5d11d98a4061812f5e92b22ff949c6adde08f4e8.tar.gz |
Alwauys include netinet/in.h and fix errno usage.
Diffstat (limited to 'news/nn/patches')
-rw-r--r-- | news/nn/patches/patch-ac | 13 | ||||
-rw-r--r-- | news/nn/patches/patch-ax | 17 |
2 files changed, 22 insertions, 8 deletions
diff --git a/news/nn/patches/patch-ac b/news/nn/patches/patch-ac new file mode 100644 index 00000000000..abc5d6fa959 --- /dev/null +++ b/news/nn/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.7 2006/12/01 13:54:27 joerg Exp $ + +--- global.h.orig 2006-12-01 13:43:03.000000000 +0000 ++++ global.h +@@ -114,8 +114,6 @@ extern uid_t user_id; + + extern int process_id; + +-extern int errno; +- + /* + * Storage management + */ diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax index 8d1dd664db2..9b961637012 100644 --- a/news/nn/patches/patch-ax +++ b/news/nn/patches/patch-ax @@ -1,19 +1,20 @@ -$NetBSD: patch-ax,v 1.8 2006/11/12 01:28:03 rillig Exp $ +$NetBSD: patch-ax,v 1.9 2006/12/01 13:54:27 joerg Exp $ ---- nntp.c.orig 2005-04-20 01:06:51.000000000 +0200 -+++ nntp.c 2006-11-12 02:14:49.000000000 +0100 -@@ -57,8 +58,9 @@ +--- nntp.c.orig 2005-04-19 23:06:51.000000000 +0000 ++++ nntp.c +@@ -57,10 +57,9 @@ #endif /* This is necessary due to the definitions in m-XXX.h */ -+/* IRIX needs it for struct sockaddr_in */ ++/* Many systems needs it for struct sockaddr_in */ -#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) -+#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) || defined(__sgi) || defined(__NetBSD__) #include <netinet/in.h> - #endif +-#endif + + #ifdef EXCELAN -@@ -915,7 +917,11 @@ nntp_check(void) +@@ -915,7 +914,11 @@ nntp_check(void) server_real_name = hp->h_name; else nn_exitmsg(1, "NNTPSERVER is invalid"); |