Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 09:50:11 +0200
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@coosemans.org>
To:        Christoph Moench-Tegeder <cmt@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: edae8a1c0404 - main - www/firefox: fix build on 32bit
Message-ID:  <20211007095011.17723b98@coosemans.org>
In-Reply-To: <202110022110.192LAvqH064153@gitrepo.freebsd.org>
References:  <202110022110.192LAvqH064153@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Oct 2021 21:10:57 GMT Christoph Moench-Tegeder
<cmt@FreeBSD.org> wrote:
> The branch main has been updated by cmt:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=edae8a1c040482b1cc559eee4f6d626288d54965
> 
> commit edae8a1c040482b1cc559eee4f6d626288d54965
> Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
> AuthorDate: 2021-10-02 21:08:43 +0000
> Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
> CommitDate: 2021-10-02 21:08:43 +0000
> 
>     www/firefox: fix build on 32bit
>     
>     this brings the double_t-related typedefs in line with our definitions
>     and brings back the rounding helpers for those.
>     
>     PR:             258804
>     Reported by:    Felix Palmen
> ---
>  www/firefox/files/patch-bug1729459_comment12 | 93 ++++++++++++++++++++++++++++
>  1 file changed, 93 insertions(+)
> 
> diff --git a/www/firefox/files/patch-bug1729459_comment12 b/www/firefox/files/patch-bug1729459_comment12
> new file mode 100644
> index 000000000000..dda42170f71b
> --- /dev/null
> +++ b/www/firefox/files/patch-bug1729459_comment12
> @@ -0,0 +1,93 @@
> +--- modules/fdlibm/src/math_private.h.orig	2021-09-30 19:32:33.764224000 +0200
> ++++ modules/fdlibm/src/math_private.h	2021-10-02 22:15:33.265122000 +0200
> +@@ -30,7 +30,11 @@
> +  * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
> +  */
> + 
> +-typedef double      __double_t;
> ++#ifdef __LP64__
> ++typedef double __double_t;
> ++#else
> ++typedef long double __double_t;
> ++#endif
> + typedef __double_t  double_t;

It's only long double on i386, not all 32 bit architectures.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211007095011.17723b98>