pkgsrc-Bugs archive

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

pkg/44924: security/gnutls does not compile on Solaris



>Number:         44924
>Category:       pkg
>Synopsis:       security/gnutls does not compile on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 02 08:50:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling security/gnutls on Solaris fails with

egd.c: In function `_rndegd_connect_socket':
egd.c:144: error: `AF_LOCAL' undeclared (first use in this function)
egd.c:144: error: (Each undeclared identifier is reported only once
egd.c:144: error: for each function it appears in.)
gmake[4]: *** [egd.lo] Error 1
gmake[4]: Leaving directory 
`/software/pkgsrc/source/pkgsrc/security/gnutls/work.spare4200/gnutls-2.12.3/lib/nettle'

>How-To-Repeat:

>Fix:
--- lib/nettle/egd.c.orig       2011-04-08 00:30:45.000000000 +0000
+++ lib/nettle/egd.c
@@ -141,6 +141,7 @@ _rndegd_connect_socket (void)
     }
 
   memset (&addr, 0, sizeof addr);
+#define AF_LOCAL AF_UNIX
   addr.sun_family = AF_LOCAL;
   strcpy (addr.sun_path, name);
   addr_len = (offsetof (struct sockaddr_un, sun_path)



Home | Main Index | Thread Index | Old Index