From owner-freebsd-ports@FreeBSD.ORG Sat Mar 27 00:02:17 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D2C106566B; Sat, 27 Mar 2010 00:02:17 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3B00B8FC08; Sat, 27 Mar 2010 00:02:16 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 271ED1FFC22; Sat, 27 Mar 2010 00:02:16 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id EA32F8449F; Sat, 27 Mar 2010 01:02:15 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: d@delphij.net References: <4BACFE18.7010309@delphij.net> Date: Sat, 27 Mar 2010 01:02:15 +0100 In-Reply-To: <4BACFE18.7010309@delphij.net> (Xin LI's message of "Fri, 26 Mar 2010 11:34:00 -0700") Message-ID: <86wrwylji0.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, the_paya@gentoo.org, Alexander Logvinov , freebsd-arch@freebsd.org Subject: Re: [RFC] Reduce namespace pollution on zlib.h X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 00:02:17 -0000 Xin LI writes: > The recent zlib import has added some assumption that > _LARGEFILE_64_SOURCE is only defined on systems with System V style *64 > interface. Moreover, I have added _FILE_OFFSET_BITS =3D 64 definition > into zconf.h so that it would pick up the 64 bit interface properly. This is wrong, FreeBSD has native 64-bit stat() etc. and does not need _LARGEFILE_WHATEVER. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no