pkgsrc-Bulk archive

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

Re: pkgsrc NetBSD 1.6.2/i386 bulk build results 2005-01-25



Thomas Klausner <wiz%NetBSD.org@localhost> writes:

> On Tue, Jan 25, 2005 at 07:57:51PM +0100, Krister Walfridsson wrote:
>> pkgsrc bulk build results
>> NetBSD 1.6.2/i386
>> 
>> Summary:
>> 
>>         Build started:                  Sat Jan 22 23:01:01 2005 UTC
>>         Build ended:                    Tue Jan 25 09:09:16 2005 UTC
>> sysutils/radmind                   hf%spg.tu-darmstadt.de@localhost
>
>  ./tls.c: In function `tls_client_start':                                     
>    
>  ./tls.c:242: parse error before `int'                                        
>      
>  ./tls.c:244: `alt_ext' undeclared (first use in this function)               
>      
>  ./tls.c:244: (Each undeclared identifier is reported only once               
>      
>  ./tls.c:244: for each function it appears in.)                               
>         

Thanks for notifying me.
This is a  C90 issue. The patches


[hf@heiligenberg] /<3>sysutils/radmind > cvs diff -u distinfo 
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/radmind/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo    19 Jan 2005 12:54:13 -0000      1.2
+++ distinfo    26 Jan 2005 13:59:03 -0000
@@ -4,3 +4,4 @@
 Size (radmind-1.4.0.tgz) = 342647 bytes
 SHA1 (patch-aa) = a6a8de2f5f91dbdbd7b46ec795fa5e4bf60c97c9
 SHA1 (patch-ab) = b973563ae1899f2f3acf8a682d3d6a51cd0db889
+SHA1 (patch-ac) = 438b33eebcd4c0c7823230db1377bbcac97b8b7a


[hf@heiligenberg] /<3>sysutils/radmind > cat patches/patch-ac
$NetBSD$

--- tls.c.orig  2004-12-14 16:23:14.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;


should fix it (please commit); I'll take the issue to the radmind list.

       hauke

-- 
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email             Institut für Nachrichtentechnik
 X     No Word docs in email                      TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281



Home | Main Index | Thread Index | Old Index