pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/firefox on NetBSD sparc

On Monday 05 May 2008 13:15:09 Martin Husemann wrote:
> On Mon, May 05, 2008 at 12:53:39PM +0100, 
> wrote:
> Check if it uses
> > #if PR_BYTES_PER_LONG == 8
> >
> > #define LL_MAXUINT  18446744073709551615UL
> this definition (which would be wrong for 32bit targets) or
> > #define LL_MAXUINT  18446744073709551615ULL
> this one (which should be fine). One way to test is to add #error in both
> places and see which fails.
> Martin

I think this is the problem

mozilla/nsprpub/pr/include/md/_netbsd.cfg file defines machine architecture. 
It has definitions for __sparc_v9__ and __sparc__

I'm running 32-bit sun4u kernel with 32-bit userland. For some reason mozilla 
thinks the architecture is __sparc_v9__ and provides incorrect definitions 
for integer datatypes.

How can I tell mozilla this is sparc and not sparcv9?

Home | Main Index | Thread Index | Old Index