Date: Tue, 21 Mar 2000 12:25:18 -0600 (CST) From: <adepoo@tamnet.com.mx> To: freebsd-stable@FreeBSD.ORG Subject: can't make openssh fix (is this ok?) Message-ID: <Pine.BSF.3.96.1000321122204.25668A-100000@correo.tamnet.com.mx>
next in thread | raw e-mail | index | archive | help
I cvsup the security ports and find that patch-ac changed on openssh, so I tried to make again the port with this failure: /usr/include/sys/socket.h:47: warning: `sa_family_t' previously declared here /usr/ports/security/openssh/work/ssh/lib/../includes.h:73: conflicting types for `socklen_t' /usr/include/sys/socket.h:48: previous declaration of `socklen_t' *** Error code 1 Stop. so I checked the patch-ac file and found: @@ -65,5 +64,30 @@ * client program. Socketpairs do not seem to work on all systems. */ #define USE_PIPES 1 + +#if defined(__FreeBSD__) && __FreeBSD__ <= 3 +/* + * Data types. + */ +typedef u_char sa_family_t; +typedef int socklen_t; + changed to: @@ -65,5 +64,28 @@ * client program. Socketpairs do not seem to work on all systems. */ #define USE_PIPES 1 + +#if defined(__FreeBSD__) && __FreeBSD__ <= 3 +/* + * Data types. + */ + and the make went well. Is this patch to the patch-ac correct? The data types are already declared in an included file. Thanks in advance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1000321122204.25668A-100000>