Date: Thu, 24 Jan 2013 22:58:03 +0000 From: Patrick Mackinlay <patrick@spacesurfer.com> To: gecko@FreeBSD.org Cc: freebsd-ports@FreeBSD.org Subject: firefox port and FreeBSD 9.0 stable Message-ID: <5101BC7B.9020501@spacesurfer.com>
next in thread | raw e-mail | index | archive | help
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 <osreldate.h> +# if __FreeBSD_version > 900044 +# define HAVE_XLOCALE +# endif +#endif + +#ifdef HAVE_XLOCALE #include <xlocale.h> -#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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5101BC7B.9020501>