pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Fix PR pkg/56457. Fix build under...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63efc68dc299
branches:  trunk
changeset: 768669:63efc68dc299
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Oct 29 16:46:04 2021 +0000

description:
firefox: Fix PR pkg/56457. Fix build under NetBSD/i386

diffstat:

 www/firefox/distinfo                                         |   3 +-
 www/firefox/patches/patch-modules_fdlibm_src_math__private.h |  18 ++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r bf060fd100ce -r 63efc68dc299 www/firefox/distinfo
--- a/www/firefox/distinfo      Fri Oct 29 16:17:48 2021 +0000
+++ b/www/firefox/distinfo      Fri Oct 29 16:46:04 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.451 2021/10/26 11:29:26 nia Exp $
+$NetBSD: distinfo,v 1.452 2021/10/29 16:46:04 ryoon Exp $
 
 BLAKE2s (firefox-93.0.source.tar.xz) = 073fe2b73140ba0cae75c8e75f47a966c6c6e94c1a6b8c654e0cc359dc03f6e1
 SHA512 (firefox-93.0.source.tar.xz) = b29890e331819d47201b599b9feaaa7eaa0b02088fcbf980efc4f289d43da4f73970bf35ba2f763a2a892fd5318deb68cb9a66e71e9bc0c603642434c7e32e91
@@ -31,6 +31,7 @@
 SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc
 SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f
 SHA1 (patch-media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = f495b64d33db4940c0dfe8c36ddf82aa752b25d9
+SHA1 (patch-modules_fdlibm_src_math__private.h) = 6ae3b0077b4a8c6088c35769fa1972cfc44ea9c1
 SHA1 (patch-mozglue_misc_Uptime.cpp) = daefe25ef1ebc8e4d3735017b9e8ac68c4710a00
 SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = 13e512c7ee9fa1e14ba415d62fa853e5fbfc91c0
 SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4
diff -r bf060fd100ce -r 63efc68dc299 www/firefox/patches/patch-modules_fdlibm_src_math__private.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-modules_fdlibm_src_math__private.h      Fri Oct 29 16:46:04 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-modules_fdlibm_src_math__private.h,v 1.1 2021/10/29 16:46:04 ryoon Exp $
+
+* Fix PR pkg/56457, build failure on NetBSD/i386.
+  Do not use FreeBSD-specific definition.
+
+--- modules/fdlibm/src/math_private.h.orig     2021-09-27 22:47:42.000000000 +0000
++++ modules/fdlibm/src/math_private.h
+@@ -30,8 +30,8 @@
+  * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
+  */
+ 
+-typedef double      __double_t;
+-typedef __double_t  double_t;
++#include <math.h>
++typedef double_t __double_t;
+ 
+ /*
+  * The original fdlibm code used statements like:



Home | Main Index | Thread Index | Old Index