From owner-freebsd-ports@FreeBSD.ORG Thu Jan 24 22:58:07 2013 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 66C1BB0F; Thu, 24 Jan 2013 22:58:07 +0000 (UTC) (envelope-from patrick@spacesurfer.com) Received: from ws9.spacesurfer.com (ws9.spacesurfer.com [206.71.190.107]) by mx1.freebsd.org (Postfix) with ESMTP id 46E35CDF; Thu, 24 Jan 2013 22:58:06 +0000 (UTC) Received: from ws9.spacesurfer.com (localhost.spacesurfer.com [127.0.0.1]) by ws9.spacesurfer.com (Postfix) with ESMTP id D1DF6118505A; Thu, 24 Jan 2013 22:58:06 +0000 (GMT) X-My-Spf: pass (ws9.spacesurfer.com: domain of patrick@spacesurfer.com designates 206.71.190.107 as permitted sender) X-My-Id: My::PostFix::Filter.1c59840913b915101bc7d X-My-Id: My::PostFix::Filter.1c59840a13b915101bc7e Received: from patrick.uknet.spacesurfer.com (82.69.172.105.ip.spacesurfer.com [82.69.172.105]) by ws9.spacesurfer.com (Postfix) with ESMTPA; Thu, 24 Jan 2013 22:58:04 +0000 (GMT) Message-ID: <5101BC7B.9020501@spacesurfer.com> Date: Thu, 24 Jan 2013 22:58:03 +0000 From: Patrick Mackinlay User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130120 Thunderbird/17.0.2 MIME-Version: 1.0 To: gecko@FreeBSD.org Subject: firefox port and FreeBSD 9.0 stable X-Enigmail-Version: 1.4.6 OpenPGP: url=http://patrick.spacesurfer.com/pgp_public_key.html Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig10F6D7692F3E18DED07CB5BF" Cc: freebsd-ports@FreeBSD.org 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: Thu, 24 Jan 2013 22:58:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10F6D7692F3E18DED07CB5BF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, The latest firefox port (18.0.1) does not compile in FreeBSD 9 stable (FreeBSD 9.0-STABLE). This is because the port patches the code in a way to expect xlocale. In the patch files/patch-bug807492 there are the following lines: -#ifdef DARWIN + +#ifdef __FreeBSD__ +#include +# if __FreeBSD_version > 900044 +# define HAVE_XLOCALE +# endif +#endif + +#ifdef HAVE_XLOCALE #include -#endif /* DARWIN */ +#endif /* HAVE_XLOCALE */ This essentially expects xlocale for all FreeBSD versions later than FreeBSD 9.0 release. However, xlocale was only added in FreeBSD 9.1, so the port will not compile for all versions of FreeBSD between 9.0 release and 9.1 release. Changing the version check to 901000 fixed it for me, however I dont know what the correct __FreeBSD_version should be because the docs at: http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.htm= l were not up to date at the time of writing this email. regards, Patrick --=20 Patrick Mackinlay patrick@spacesurfer.com http://patrick.spacesurfer.com/ tel: +44.7050699851 Yahoo messenger: patrick00_uk fax: +44.7050699852 SpaceSurfer Limited http://www.spacereg.com/ --------------enig10F6D7692F3E18DED07CB5BF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iD8DBQFRAbx7D97IpyzY3RIRAmRTAJ42uxaaIqaF9MaoirOF292k3Pp4rwCfdTdd SZZX5hHzryihGKgmnvLQC1M= =/5L9 -----END PGP SIGNATURE----- --------------enig10F6D7692F3E18DED07CB5BF--