pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/radmind Fix build with gcc2. From Hauke Fath.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a3afb423a5ea
branches:  trunk
changeset: 488245:a3afb423a5ea
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 26 14:11:34 2005 +0000

description:
Fix build with gcc2. From Hauke Fath.

diffstat:

 sysutils/radmind/distinfo         |   3 ++-
 sysutils/radmind/patches/patch-ac |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r e6c67c705b32 -r a3afb423a5ea sysutils/radmind/distinfo
--- a/sysutils/radmind/distinfo Wed Jan 26 13:09:19 2005 +0000
+++ b/sysutils/radmind/distinfo Wed Jan 26 14:11:34 2005 +0000
@@ -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 -r e6c67c705b32 -r a3afb423a5ea sysutils/radmind/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/radmind/patches/patch-ac Wed Jan 26 14:11:34 2005 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index