diff options
author | wiz <wiz> | 2005-01-26 14:11:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-01-26 14:11:34 +0000 |
commit | 335052b945133381b837fdcab889d2f1408b3352 (patch) | |
tree | 116e3a6812a6c196996aa92f6e8543d4ad464da0 /sysutils | |
parent | 14435c6be0b83b01355935570ac5df41ce7b2f1b (diff) | |
download | pkgsrc-335052b945133381b837fdcab889d2f1408b3352.tar.gz |
Fix build with gcc2. From Hauke Fath.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/radmind/distinfo | 3 | ||||
-rw-r--r-- | sysutils/radmind/patches/patch-ac | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/sysutils/radmind/distinfo b/sysutils/radmind/distinfo index 6a85d527c48..4203f892059 100644 --- a/sysutils/radmind/distinfo +++ b/sysutils/radmind/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/01/19 12:54:13 wiz Exp $ +$NetBSD: distinfo,v 1.3 2005/01/26 14:11:34 wiz Exp $ SHA1 (radmind-1.4.0.tgz) = 68fcb7cf9dba6449cb501f216d510bf4f5badff1 Size (radmind-1.4.0.tgz) = 342647 bytes SHA1 (patch-aa) = a6a8de2f5f91dbdbd7b46ec795fa5e4bf60c97c9 SHA1 (patch-ab) = b973563ae1899f2f3acf8a682d3d6a51cd0db889 +SHA1 (patch-ac) = c12925c0eba55ed1406a6bb5243d99f3a2a52ea2 diff --git a/sysutils/radmind/patches/patch-ac b/sysutils/radmind/patches/patch-ac new file mode 100644 index 00000000000..08551ea58ff --- /dev/null +++ b/sysutils/radmind/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 2005/01/26 14:11:34 wiz Exp $ + +--- tls.c.orig 2005-01-26 15:07:39.000000000 +0100 ++++ tls.c +@@ -194,7 +194,8 @@ tls_client_start( SNET *sn, char *host, + char *line; + int ntype; + struct in_addr addr; +- ++ int alt_ext; ++ + if ( inet_aton( host, &addr )) { + ntype = IS_IP4; + } else { +@@ -239,7 +240,7 @@ tls_client_start( SNET *sn, char *host, + /* This code gratiously borrowed from openldap-2.2.17, + * it allows the use of aliases in the certificate. + */ +- int alt_ext = X509_get_ext_by_NID( peer, NID_subject_alt_name, -1); ++ alt_ext = X509_get_ext_by_NID( peer, NID_subject_alt_name, -1); + + if ( alt_ext >= 0 ) { + X509_EXTENSION *ex; |