pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/radmind Fix errno.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a11651313ff6
branches: trunk
changeset: 506289:a11651313ff6
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Jan 13 19:16:06 2006 +0000
description:
Fix errno.
XXX This package is also a nice example of how to "fix" ctype-related
XXX compiler warnings without fixing the problems at hand. Con'grats!
diffstat:
sysutils/radmind/distinfo | 5 ++++-
sysutils/radmind/patches/patch-ac | 20 ++++++++++++++++++++
sysutils/radmind/patches/patch-ad | 20 ++++++++++++++++++++
sysutils/radmind/patches/patch-ae | 12 ++++++++++++
4 files changed, 56 insertions(+), 1 deletions(-)
diffs (79 lines):
diff -r a7bbc07b1f73 -r a11651313ff6 sysutils/radmind/distinfo
--- a/sysutils/radmind/distinfo Fri Jan 13 19:15:11 2006 +0000
+++ b/sysutils/radmind/distinfo Fri Jan 13 19:16:06 2006 +0000
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 13:40:56 agc Exp $
+$NetBSD: distinfo,v 1.6 2006/01/13 19:16:06 joerg Exp $
SHA1 (radmind-1.5.0.tgz) = ee685126ba38afa34649f1d15bc2dfaa5d0e6294
RMD160 (radmind-1.5.0.tgz) = 7b685e357c45e40bb238c68482abe467d8073030
Size (radmind-1.5.0.tgz) = 341574 bytes
SHA1 (patch-aa) = 6df4a37c77f27b792a8bd82d9583df57fde5756f
SHA1 (patch-ab) = 72d62009c8db10597c8507e696dc2dde6fe36239
+SHA1 (patch-ac) = 885cc0763156886bf65db3b01665763d50b87d55
+SHA1 (patch-ad) = 1e69e4ddf4d255b4673261eb6b16015ce8bb5dd3
+SHA1 (patch-ae) = 58b15301aa1df00e6e5bab9f21db8ddc99461f2a
diff -r a7bbc07b1f73 -r a11651313ff6 sysutils/radmind/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/radmind/patches/patch-ac Fri Jan 13 19:16:06 2006 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.3 2006/01/13 19:16:06 joerg Exp $
+
+--- libsnet/snet.c.orig 2006-01-13 19:00:00.000000000 +0000
++++ libsnet/snet.c
+@@ -430,7 +430,6 @@ snet_readread( sn, buf, len, tv )
+ #endif /* linux */
+ fd_set fds;
+ ssize_t rc;
+- extern int errno;
+
+ if ( tv ) {
+ FD_ZERO( &fds );
+@@ -557,7 +556,6 @@ snet_getline( sn, tv )
+ {
+ char *eol, *line;
+ ssize_t rc;
+- extern int errno;
+
+ for ( eol = sn->sn_rcur; ; eol++ ) {
+ if ( eol >= sn->sn_rend ) { /* fill */
diff -r a7bbc07b1f73 -r a11651313ff6 sysutils/radmind/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/radmind/patches/patch-ad Fri Jan 13 19:16:06 2006 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2006/01/13 19:16:06 joerg Exp $
+
+--- connect.c.orig 2006-01-13 19:03:13.000000000 +0000
++++ connect.c
+@@ -11,6 +11,7 @@
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+ #include <arpa/inet.h>
++#include <errno.h>
+ #include <netdb.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -30,7 +31,6 @@
+ extern void (*logger)( char * );
+ extern int verbose;
+ struct timeval timeout = { 60, 0 };
+-extern int errno;
+ extern SSL_CTX *ctx;
+
+ static SNET *
diff -r a7bbc07b1f73 -r a11651313ff6 sysutils/radmind/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/radmind/patches/patch-ae Fri Jan 13 19:16:06 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2006/01/13 19:16:06 joerg Exp $
+
+--- retr.c.orig 2006-01-13 19:04:50.000000000 +0000
++++ retr.c
+@@ -45,7 +45,6 @@ extern int verbose;
+ extern int showprogress;
+ extern int dodots;
+ extern int cksum;
+-extern int errno;
+ extern SSL_CTX *ctx;
+
+ /*
Home |
Main Index |
Thread Index |
Old Index