summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-13 19:16:06 +0000
committerjoerg <joerg>2006-01-13 19:16:06 +0000
commit36b66471aa8c711429e5c39fb04870b541596349 (patch)
tree4d1119d3f4282d454c3e6f435e1263f0d68b99ed /sysutils
parent920f20ecf630b0707f86e039ef4ea6312355db1b (diff)
downloadpkgsrc-36b66471aa8c711429e5c39fb04870b541596349.tar.gz
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 (limited to 'sysutils')
-rw-r--r--sysutils/radmind/distinfo5
-rw-r--r--sysutils/radmind/patches/patch-ac20
-rw-r--r--sysutils/radmind/patches/patch-ad20
-rw-r--r--sysutils/radmind/patches/patch-ae12
4 files changed, 56 insertions, 1 deletions
diff --git a/sysutils/radmind/distinfo b/sysutils/radmind/distinfo
index e21dc54a983..88095aee732 100644
--- a/sysutils/radmind/distinfo
+++ b/sysutils/radmind/distinfo
@@ -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 --git a/sysutils/radmind/patches/patch-ac b/sysutils/radmind/patches/patch-ac
new file mode 100644
index 00000000000..4df63cc8903
--- /dev/null
+++ b/sysutils/radmind/patches/patch-ac
@@ -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 --git a/sysutils/radmind/patches/patch-ad b/sysutils/radmind/patches/patch-ad
new file mode 100644
index 00000000000..ecda6316fc8
--- /dev/null
+++ b/sysutils/radmind/patches/patch-ad
@@ -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 --git a/sysutils/radmind/patches/patch-ae b/sysutils/radmind/patches/patch-ae
new file mode 100644
index 00000000000..d08117a539f
--- /dev/null
+++ b/sysutils/radmind/patches/patch-ae
@@ -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;
+
+ /*