[Bug 258804] www/firefox: 93.0 fails to build on i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Sep 2021 18:31:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258804

Felix Palmen <felix@palmen-it.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #228295|                            |maintainer-approval?
              Flags|                            |

--- Comment #1 from Felix Palmen <felix@palmen-it.de> ---
Created attachment 228295
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228295&action=edit
0001-www-firefox-fix-build-on-i386

So, this took a while. Turns out the "fdlibm" module that causes the error is
actually taken from FreeBSD, but patched heavily.

The obvious fix is to remove the typedef for __double_t there, so it doesn't
conflict with the one introduced via <sys/types.h>. But then, an inline
function for converting a __double_t value to an integer is missing. Therefore,
revert the patch applied upstream that removes that function (see changes to
Makefile).

Build tested for both i386 and amd64, also did a quick smoke test of both
builds (browser runs fine, loads and displays websites).

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