pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/news/nn Alwauys include netinet/in.h and fix errno usage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7703104c9a87
branches: trunk
changeset: 522049:7703104c9a87
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Dec 01 13:54:27 2006 +0000
description:
Alwauys include netinet/in.h and fix errno usage.
diffstat:
news/nn/distinfo | 5 +++--
news/nn/patches/patch-ac | 13 +++++++++++++
news/nn/patches/patch-ax | 17 +++++++++--------
3 files changed, 25 insertions(+), 10 deletions(-)
diffs (74 lines):
diff -r f3393d970723 -r 7703104c9a87 news/nn/distinfo
--- a/news/nn/distinfo Fri Dec 01 13:36:59 2006 +0000
+++ b/news/nn/distinfo Fri Dec 01 13:54:27 2006 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.14 2006/11/12 01:28:03 rillig Exp $
+$NetBSD: distinfo,v 1.15 2006/12/01 13:54:27 joerg Exp $
SHA1 (nn-6.7.3.tar.Z) = 1879aae59131e4b86e82021802918a0a39cea826
RMD160 (nn-6.7.3.tar.Z) = 2617fe7dce42c36ae970579e27ebd00a60f23653
Size (nn-6.7.3.tar.Z) = 688446 bytes
SHA1 (patch-aa) = 175941d5d91b822be577409f4d32420209b33d1c
SHA1 (patch-ab) = 911d5e19c352085a2a9fa715d2dee4a8ebfe7fa9
+SHA1 (patch-ac) = bf00f22f8fcf9aeb4a0d324c373f91db84ec175a
SHA1 (patch-ae) = 5d9968a29408cfc753b27cba6fc48076bb849317
SHA1 (patch-af) = 446d8359228f5afd73d9d770b78cbe573e39fac0
SHA1 (patch-ag) = 4857f66029c77e46e1506cb33a64ec098bdaeb39
@@ -19,7 +20,7 @@
SHA1 (patch-at) = 11541ea36bbdacfbd84af6b3be4c4dbc983ef16d
SHA1 (patch-au) = e247b3a62b24409a04a1f1604606d6e38474af67
SHA1 (patch-av) = 4013cfa3d4dc9bba84593ce68310e7d9b75b0aa0
-SHA1 (patch-ax) = bccf81e22dc530fce90b86b2f1c31ae72099e4b6
+SHA1 (patch-ax) = 5509d974e84f55d6fc28dd3b58ad3d94e56edec5
SHA1 (patch-ay) = d707b74d2c6d2f39b8515531cf90d435784deaf1
SHA1 (patch-az) = 206fcead17eb09c8c019eeb78335841ff9ce9c94
SHA1 (patch-ba) = a9c5dd3af5901d08bef80de67402b4cf82be6380
diff -r f3393d970723 -r 7703104c9a87 news/nn/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/news/nn/patches/patch-ac Fri Dec 01 13:54:27 2006 +0000
@@ -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 -r f3393d970723 -r 7703104c9a87 news/nn/patches/patch-ax
--- a/news/nn/patches/patch-ax Fri Dec 01 13:36:59 2006 +0000
+++ b/news/nn/patches/patch-ax Fri Dec 01 13:54:27 2006 +0000
@@ -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
-@@ -915,7 +917,11 @@ nntp_check(void)
+ #ifdef EXCELAN
+
+@@ -915,7 +914,11 @@ nntp_check(void)
server_real_name = hp->h_name;
else
nn_exitmsg(1, "NNTPSERVER is invalid");
Home |
Main Index |
Thread Index |
Old Index