From owner-freebsd-ports Sun Jan 30 4: 0:14 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 533821517A for ; Sun, 30 Jan 2000 04:00:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA76334; Sun, 30 Jan 2000 04:00:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Sun, 30 Jan 2000 04:00:04 -0800 (PST) Message-Id: <200001301200.EAA76334@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Alexander Langer Subject: Re: ports/16449: fix textproc/nicetext (bentofied) Reply-To: Alexander Langer Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/16449; it has been noted by GNATS. From: Alexander Langer To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: ports/16449: fix textproc/nicetext (bentofied) Date: Sun, 30 Jan 2000 11:25:06 +0100 Please use this patch instead (-stable build!) --- nttpd/src/nttpd.cc.orig Sat Jan 29 18:30:37 2000 +++ nttpd/src/nttpd.cc Sun Jan 30 11:17:36 2000 @@ -100,6 +100,7 @@ #include #include #include +#include #include "../../mtc++/include/MTC++.h" #include "../../mtc++/include/mstring.h" #include "../../mtc++/include/errormsg.h" @@ -288,7 +289,11 @@ for(;;) { +#if (__FreeBSD_version < 400000) if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, &sin_size))==-1) +#else + if ((newfd=accept(sockfd, (struct sockaddr *)&their_addr, (socklen_t *) &sin_size))==-1) +#endif { perror("accept"); continue; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message