From owner-freebsd-ports@FreeBSD.ORG Thu Jul 17 20:28:39 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 621E037B401; Thu, 17 Jul 2003 20:28:39 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-119-53-152.dsl.lsan03.pacbell.net [67.119.53.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E0543FBD; Thu, 17 Jul 2003 20:28:38 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 3B80E66BE5; Thu, 17 Jul 2003 20:28:37 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 2320CC1C; Thu, 17 Jul 2003 20:28:37 -0700 (PDT) Date: Thu, 17 Jul 2003 20:28:37 -0700 From: Kris Kennaway To: Kris Kennaway Message-ID: <20030718032837.GA62296@rot13.obsecurity.org> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 03:28:39 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 17, 2003 at 07:52:00PM -0700, Kris Kennaway wrote: > Most of the new compile failures are caused by 3 or 4 types of failure > mode (all of which have to do with stricter standards compliance in > the new compiler suite). I haven't yet looked at how to fix most of > them: if you figure out a patch for a class of failures, please post > it in response to this email so we can all see how to do it. http://bento.freebsd.org/errorlogs/i386-5-latest/nap-1.5.1.log =2E.. title.h:7:1: missing terminating " character =2E.. A fix is similar to this: --- src/nap.c.orig Thu Jul 17 20:21:08 2003 +++ src/nap.c Thu Jul 17 20:22:02 2003 @@ -542,21 +542,20 @@ =20 if (!getval("connection")) { if (!info.daemon) { - wp(NULL, " - Connection | Number - ------------------- - Unknown | 0 - 14.4 | 1 - 28.8 | 2 - 33.6 | 3 - 56.7 | 4 - 64K ISDN | 5 - 128K ISDN | 6 - Cable | 7 - DSL | 8 - T1 | 9 - T3 or > | 10 -\n"); + wp(NULL, "\ + Connection | Number\n\ + -------------------\n\ + Unknown | 0\n\ + 14.4 | 1\n\ + 28.8 | 2\n\ + 33.6 | 3\n\ + 56.7 | 4\n\ + 64K ISDN | 5\n\ + 128K ISDN | 6\n\ + Cable | 7\n\ + DSL | 8\n\ + T1 | 9\n\ + T3 or > | 10\n"); wp(NULL, "How fast is your internet connection?\n"); wp(NULL, "Please choose 0--10 from the chart: [4] "); ans =3D nap_getline(stdin); Be careful not to introduce or remove any newlines when you patch this. Kris --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/F2lkWry0BWjoQKURAnGWAJ9WrYPBFg5BWXBUpni8rfIjbJvzhgCfQnh4 ntis+ZWFAqtgPr9Ma1AUsCo= =0bNT -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--