From owner-freebsd-stable Tue Mar 21 10:25:31 2000 Delivered-To: freebsd-stable@freebsd.org Received: from correo.tamnet.com.mx (correo.tamnet.com.mx [200.34.205.20]) by hub.freebsd.org (Postfix) with ESMTP id 7C2AD37BA2F for ; Tue, 21 Mar 2000 10:25:22 -0800 (PST) (envelope-from adepoo@tamnet.com.mx) Received: from correo.tamnet.com.mx (correo.tamnet.com.mx [200.34.205.20]) by correo.tamnet.com.mx (8.9.1a/8.9.1a) with SMTP id MAA25934 for ; Tue, 21 Mar 2000 12:25:18 -0600 (CST) Date: Tue, 21 Mar 2000 12:25:18 -0600 (CST) From: To: freebsd-stable@FreeBSD.ORG Subject: can't make openssh fix (is this ok?) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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