pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nsca Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9db44f809e66
branches:  trunk
changeset: 511808:9db44f809e66
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Apr 22 16:49:48 2006 +0000

description:
Fix errno.

diffstat:

 net/nsca/distinfo         |   3 ++-
 net/nsca/patches/patch-aa |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 55bee50d5e58 -r 9db44f809e66 net/nsca/distinfo
--- a/net/nsca/distinfo Sat Apr 22 16:44:25 2006 +0000
+++ b/net/nsca/distinfo Sat Apr 22 16:49:48 2006 +0000
@@ -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 -r 55bee50d5e58 -r 9db44f809e66 net/nsca/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nsca/patches/patch-aa Sat Apr 22 16:49:48 2006 +0000
@@ -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){
+ 



Home | Main Index | Thread Index | Old Index