summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-22 16:49:48 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-22 16:49:48 +0000
commitf044a55ea13642328fe5b007eaff18de95bbf3de (patch)
treef6038d56155673328468618c2a5e1fbd95e2a86a /net
parent454caea3afb630ac6484a1ee357090ae72ae8772 (diff)
downloadpkgsrc-f044a55ea13642328fe5b007eaff18de95bbf3de.tar.gz
Fix errno.
Diffstat (limited to 'net')
-rw-r--r--net/nsca/distinfo3
-rw-r--r--net/nsca/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/net/nsca/distinfo b/net/nsca/distinfo
index 2675a84586a..e19f510c48c 100644
--- a/net/nsca/distinfo
+++ b/net/nsca/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:13:57 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/04/22 16:49:48 joerg Exp $
SHA1 (nsca-1.1.0.tar.gz) = 78bb22264559c2fb324f51ca5cf4b81879223590
RMD160 (nsca-1.1.0.tar.gz) = 42a2fab017b362e3a1cc14d39395555c39f315f0
Size (nsca-1.1.0.tar.gz) = 38700 bytes
+SHA1 (patch-aa) = 6cf7a8a97d2c05290d858355f84602ac87b2b9a8
diff --git a/net/nsca/patches/patch-aa b/net/nsca/patches/patch-aa
new file mode 100644
index 00000000000..07e445a02db
--- /dev/null
+++ b/net/nsca/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2006/04/22 16:49:48 joerg Exp $
+
+--- src/netutils.c.orig 2006-04-22 16:42:46.000000000 +0000
++++ src/netutils.c
+@@ -29,14 +29,13 @@
+ *
+ ****************************************************************************/
+
++#include <errno.h>
++
+ #include "../common/common.h"
+ #include "netutils.h"
+
+ extern int socket_timeout; /* this doesn't have to be used, but it is nice to know how many seconds we timed out after */
+
+-extern int errno;
+-
+-
+ /* handles socket timeouts */
+ void socket_timeout_alarm_handler(int sig){
+