FreeBSD Bugzilla – Attachment 228295 Details for
Bug 258804
www/firefox: 93.0 fails to build on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-www-firefox-fix-build-on-i386
0001-www-firefox-fix-build-on-i386.patch (text/plain), 1.83 KB, created by
Felix Palmen
on 2021-09-30 18:31:15 UTC
(
hide
)
Description:
0001-www-firefox-fix-build-on-i386
Filename:
MIME Type:
Creator:
Felix Palmen
Created:
2021-09-30 18:31:15 UTC
Size:
1.83 KB
patch
obsolete
>From eaf35c6b58827b86565a884f2e5de58d3450ed76 Mon Sep 17 00:00:00 2001 >From: Felix Palmen <felix@palmen-it.de> >Date: Thu, 30 Sep 2021 19:31:19 +0200 >Subject: [PATCH] www/firefox: fix build on i386 > >make sure modules/fdlibm uses __double_t as typedef'd in <sys/types.h> >--- > www/firefox/Makefile | 5 +++++ > .../files/patch-modules_fdlibm_src_math__private.h | 10 ++++++++++ > 2 files changed, 15 insertions(+) > create mode 100644 www/firefox/files/patch-modules_fdlibm_src_math__private.h > >diff --git a/www/firefox/Makefile b/www/firefox/Makefile >index 3f77dbe85e4b..0f18a9c94e14 100644 >--- a/www/firefox/Makefile >+++ b/www/firefox/Makefile >@@ -41,12 +41,17 @@ MOZ_OPTIONS= --enable-application=browser \ > > .include "${.CURDIR}/../../www/firefox/Makefile.options" > >+PATCH_CMD?= /usr/bin/patch >+FDLIBM_REVERT= 19_remove_unneeded_round_to_integer_helpers.patch >+ > post-patch: > @${REINPLACE_CMD} -e 's/%u/%U/' -e '/X-MultipleArgs/d' \ > -e '/^Icon/s/=.*/=${FIREFOX_ICON:R}/' \ > ${FIREFOX_DESKTOP} > @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ > ${WRKSRC}/browser/app/nsBrowserApp.cpp >+ @(cd ${WRKSRC} && ${PATCH_CMD} -Rp1 \ >+ <modules/fdlibm/patches/${FDLIBM_REVERT}) > > pre-configure: > (cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13) >diff --git a/www/firefox/files/patch-modules_fdlibm_src_math__private.h b/www/firefox/files/patch-modules_fdlibm_src_math__private.h >new file mode 100644 >index 000000000000..1e7c338a0b18 >--- /dev/null >+++ b/www/firefox/files/patch-modules_fdlibm_src_math__private.h >@@ -0,0 +1,10 @@ >+--- modules/fdlibm/src/math_private.h.orig 2021-09-30 15:30:21 UTC >++++ modules/fdlibm/src/math_private.h >+@@ -30,7 +30,6 @@ >+ * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t >+ */ >+ >+-typedef double __double_t; >+ typedef __double_t double_t; >+ >+ /* >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
zirias
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 258804
: 228295