From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 19 18:13:09 2007 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA66316A401 for ; Mon, 19 Mar 2007 18:13:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.freebsd.org (Postfix) with ESMTP id B44DD13C44C for ; Mon, 19 Mar 2007 18:13:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 9024B1CCCC; Mon, 19 Mar 2007 19:13:08 +0100 (CET) Date: Mon, 19 Mar 2007 19:13:08 +0100 From: Ed Schouten To: hackers@freebsd.org Message-ID: <20070319181308.GP7449@hoeg.nl> References: <20070316081428.GU7449@hoeg.nl> <20070317130208.GW7449@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dKeYJkA19bNVVKdr" Content-Disposition: inline In-Reply-To: <20070317130208.GW7449@hoeg.nl> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Subject: Re: Moving applications from to X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 18:13:10 -0000 --dKeYJkA19bNVVKdr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > When all the PR's are closed, I guess most people can live without > COMPAT_43TTY as well. Maybe we should add a permanent #warning to > to warn people that they shouldn't use it and that it depends > on COMPAT_43TTY? This should do the trick: %%% --- src/include/sgtty.h Tue May 24 11:57:10 1994 +++ src/include/sgtty.h Mon Mar 19 19:09:04 2007 @@ -31,7 +31,14 @@ * SUCH DAMAGE. * * @(#)sgtty.h 8.1 (Berkeley) 6/2/93 + * $FreeBSD$ */ + +#include + +#ifdef __CC_SUPPORTS_WARNING +#warning "sgtty.h is deprecated and depends on COMPAT_43TTY. Use termios.= h instead." +#endif =20 #ifndef USE_OLD_TTY #define USE_OLD_TTY %%% I'd really appreciate it if this patch would make it to the source, because then we can grep the Ports Tinderbox build logs to see which ports still include this header file. Thanks! --=20 Ed Schouten WWW: http://g-rave.nl/ --dKeYJkA19bNVVKdr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFF/tK052SDGA2eCwURAtK1AJ9v75Y+GI7ppmToK+2h2nOF2QjUIwCdFE3A I0V+NMBqqbrSzGjFRawaRys= =8gsI -----END PGP SIGNATURE----- --dKeYJkA19bNVVKdr--