Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2013 09:45:26 -0100
From:      Jan Beich <jbeich@tormail.org>
To:        Alfred Perlstein <alfred@ixsystems.com>
Cc:        gecko@FreeBSD.org
Subject:   Re: Patches for firefox port on FreeBSD powerpc.
Message-ID:  <1UDYsR-0003Xv-Km@internal.tormail.org>
In-Reply-To: <51382CB5.7050307@ixsystems.com> (Alfred Perlstein's message of "Wed, 06 Mar 2013 21:59:17 -0800")
References:  <51382CB5.7050307@ixsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <alfred@ixsystems.com> writes:

> I tried to submit a PR but I'm not sure if they are going through, I
> hope this is helpful.

firefox 20.0 is going to have some powerpc fixes:

https://hg.mozilla.org/mozilla-central/rev/0c5dad17fece
https://hg.mozilla.org/mozilla-central/rev/ea3ca2b1bd7f
https://hg.mozilla.org/mozilla-central/rev/efd019bee0ff

In the meantime try www/firefox (20.0) and www/firefox-nightly (22.0)
from freebsd-gecko repository.

> +.if ! ${MACHINE_CPU:Msse2}
> +GYP_DEFINES+=	disable_sse2=1
> +.endif
> +

GYP_DEFINES isn't passed to do-configure/do-build anywhere.

> +CFLAGS+=	-D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1

__STDC_CONSTANT_MACROS errors should be reported upstream so affected
files can be fixed or the macro can be defined globally in
mozilla-config.h like __STDC_LIMIT_MACROS.

For example, gfx/skia and security/manager already define it.

> +USE_GCC=	yes

Is clang/powerpc so hopeless even on /head? I've only found

https://bugzilla.mozilla.org/show_bug.cgi?id=824633



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1UDYsR-0003Xv-Km>