From owner-freebsd-ports@FreeBSD.ORG Tue May 21 21:09:22 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id DB989523; Tue, 21 May 2013 21:09:21 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <519BE1AF.2000009@FreeBSD.org> Date: Tue, 21 May 2013 17:05:51 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: John Marino Subject: Re: [HEADSUP] flex/lex updated to 2.5.37 (from flex.sourceforge.net) References: <519BD320.9030306@FreeBSD.org> <519BD978.9060304@marino.st> In-Reply-To: <519BD978.9060304@marino.st> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 21:09:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-05-21 16:30:48 -0400, John Marino wrote: > On 5/21/2013 22:03, Jung-uk Kim wrote: >> Please note flex/lex was updated to 2.5.37 from >> flex.sourceforge.net and __FreeBSD_version was bumped to >> 1000033. >> >> FYI, I added couple of compatibility shims (just enough to build >> the previous source trees) but it is not 100% compatible with the >> old version. OTOH, this version is far more popular and >> third-party sources often require this version. Most >> importantly, NetBSD, DragonFly BSD, and Mac OS X already adopted >> it for the same reason. >> >> Cheers! >> >> Jung-uk Kim > > Hi Jung-uk Kim, I brought flex 2.5.37 into DragonFly and yes, it > caused quite a few ports to break. However, in many cases I added > patches to dports to restore their building. > > The first place people should check when trying to fix breakage is > dports in case that I already came up with a fix. Can you please explain the most common incompatibilities you experienced from dports? FYI, I have added these two shims for FreeBSD: http://svnweb.freebsd.org/changeset/base/250877 http://svnweb.freebsd.org/changeset/base/250878 With these two shims, I was able to build older FreeBSD source trees just fine. Without them, I needed patches like this: http://svnweb.freebsd.org/changeset/base/250227 Thanks! Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJRm+GvAAoJECXpabHZMqHO4aYH/jG1EKLeYMYHWjsESOPibyrX ahmIX/uwlKAXHXvhsgRr7kMZqJ0FtjPaK7X1/w4QgFpSwRD6SCBrY2sNAjOvQEoy p+UIIbDd306tagAW3BYoRy+L4ZQXPl39fsZCLo0LGCA4FLCAFT0ss7DBXV55ZqqY kGyXghnXIlr+XGA2YV5ZJJP9mOjvBCHMM6mvNtPSkpnAv0GuL2SbtmJeEtNAuqKk VQWO6BR/C6BhSxLo3tVPSEkOd0CF5ePD5zDPfPLNRlviR41OOzuS4o+w1hr3lzHu 4HJM4UoujlwBAl9017aUwEy7GNhvmzu9T7Q1OrRaTboZRmpMJ+ItCg1QgvBm+zE= =KvCt -----END PGP SIGNATURE-----