[Bug 266470] www/firefox: 105.0_1,2 fails to build on i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Nov 2022 23:44:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266470

--- Comment #3 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 238289
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238289&action=edit
[patch] fix redef of float typedefs - slightly different version

Okay, I have caught up a bit - I read the upstream discussion more closely.

Attached is a slightly different patch that uses the same __LP64__ test that is
in x86/_types.h.  And it's similar to the patch trying to make its way through
the upstream bug review (https://bugzilla.mozilla.org/show_bug.cgi?id=1729459).

I think a test that is run at 'configure' time (which defines something like
HAS__DOUBLE_T & HAS__FLOAT_T) is really what is needed upstream. The dynamics
around this for all platforms are hard to pin down perfectly without a
configure test.

So either Felix's patch (based on #ifndef __FreeBSD__) or this one is fine
until upstream can figure out what it wants.

I built firefox again with this patch on i386 and it got past this problem. 
Now it has the problem from bugĀ 264857 again ("requires target feature 'sse'"),
but that's a separate bug.  We probably need to 'regenerate libwebrtc build
files' again, but I have not figured out how to do that (might need a hint from
Christoph for that).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.