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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Sep 2022 21:17:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266470

            Bug ID: 266470
           Summary: www/firefox: 105.0_1,2 fails to build on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: zirias@freebsd.org
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

Created attachment 236648
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236648&action=edit
0001-www-firefox-fix-build-on-i386

Build error:

---
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-105.0/modules/fdlibm/src/e_acos.cpp:44:
/wrkdirs/usr/ports/www/firefox/work/firefox-105.0/modules/fdlibm/src/math_private.h:33:21:
error: typedef redefinition with different types ('double' vs 'long double')
typedef double      __double_t;
                    ^
/usr/include/x86/_types.h:87:21: note: previous definition is here
typedef long double     __double_t;
                        ^
In file included from
/wrkdirs/usr/ports/www/firefox/work/firefox-105.0/modules/fdlibm/src/e_acos.cpp:44:
/wrkdirs/usr/ports/www/firefox/work/firefox-105.0/modules/fdlibm/src/math_private.h:35:21:
error: typedef redefinition with different types ('float' vs 'long double')
typedef float       __float_t;
                    ^
/usr/include/x86/_types.h:88:21: note: previous definition is here
typedef long double     __float_t;
                        ^
2 errors generated.
---

Patch attached :)

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