pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Aug  3 02:06:31 UTC 2024

Modified Files:
        pkgsrc/www/firefox: distinfo
        pkgsrc/www/firefox/patches: patch-js_public_Utility.h
Added Files:
        pkgsrc/www/firefox/patches: patch-js_src_vm_TypedArrayObject-inl.h

Log Message:
firefox: add one more patch to build firefox on NetBSD/i386 10.0.

Also add patch comments about the kludge.


To generate a diff of this commit:
cvs rdiff -u -r1.535 -r1.536 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox/patches/patch-js_public_Utility.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox/patches/patch-js_src_vm_TypedArrayObject-inl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.535 pkgsrc/www/firefox/distinfo:1.536
--- pkgsrc/www/firefox/distinfo:1.535   Thu Aug  1 15:41:09 2024
+++ pkgsrc/www/firefox/distinfo Sat Aug  3 02:06:31 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.535 2024/08/01 15:41:09 ryoon Exp $
+$NetBSD: distinfo,v 1.536 2024/08/03 02:06:31 tsutsui Exp $
 
 BLAKE2s (firefox-128.0.3.source.tar.xz) = 7e30e975b8627c54df7df00dd68afe64cbc8afdf0376f490ea27da52888e0c1f
 SHA512 (firefox-128.0.3.source.tar.xz) = 52a0a1a6fa653f5a621a9e16e1937760c05a5ebc81a058ecc16b2c3d29d09d418dc5129deabed86ad2f82abdb3100969478a67f48b11616dc3b3e3698a1acf51
@@ -21,10 +21,11 @@ SHA1 (patch-ipc_chromium_src_base_messag
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 753bb4e90758f5b42a51bbc073b328de673988cf
 SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 63fbee04321f7ade20db4ccc1a1218b848344ce1
 SHA1 (patch-js-src-jit-arm64-vixl-MozCpu-vixl.cpp) = d90fca47d79551fd74214d47f8184670b901b792
-SHA1 (patch-js_public_Utility.h) = 0ae3d60c97358791b5d5dc2538f9c5969e06be45
+SHA1 (patch-js_public_Utility.h) = bb5464a0398b91693ab362e6b9b06d48429b9e7d
 SHA1 (patch-js_src_jit_FlushICache.cpp) = d1e611eaf7d7be22abfac6b39fbcd99df3570e47
 SHA1 (patch-js_src_old-configure.in) = 589e24765615ede2c3c6abfe0b3529c5645193ed
 SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba
+SHA1 (patch-js_src_vm_TypedArrayObject-inl.h) = 65e1dee34fa5e9f9d1424390f3baf6c0c070617b
 SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a
 SHA1 (patch-media_libpng_pngpriv.h) = 8320a1f7534ed5c4914b597bb3d6117d0060318f
 SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f

Index: pkgsrc/www/firefox/patches/patch-js_public_Utility.h
diff -u pkgsrc/www/firefox/patches/patch-js_public_Utility.h:1.1 pkgsrc/www/firefox/patches/patch-js_public_Utility.h:1.2
--- pkgsrc/www/firefox/patches/patch-js_public_Utility.h:1.1    Thu Aug  1 15:41:09 2024
+++ pkgsrc/www/firefox/patches/patch-js_public_Utility.h        Sat Aug  3 02:06:31 2024
@@ -1,4 +1,7 @@
-$NetBSD: patch-js_public_Utility.h,v 1.1 2024/08/01 15:41:09 ryoon Exp $
+$NetBSD: patch-js_public_Utility.h,v 1.2 2024/08/03 02:06:31 tsutsui Exp $
+
+- kludge to build on NetBSD/i386 10.0
+  https://mail-index.netbsd.org/pkgsrc-users/2024/07/16/msg039900.html
 
 --- js/public/Utility.h.orig   2024-07-04 17:04:15.000000000 +0000
 +++ js/public/Utility.h

Added files:

Index: pkgsrc/www/firefox/patches/patch-js_src_vm_TypedArrayObject-inl.h
diff -u /dev/null pkgsrc/www/firefox/patches/patch-js_src_vm_TypedArrayObject-inl.h:1.1
--- /dev/null   Sat Aug  3 02:06:31 2024
+++ pkgsrc/www/firefox/patches/patch-js_src_vm_TypedArrayObject-inl.h   Sat Aug  3 02:06:31 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-js_src_vm_TypedArrayObject-inl.h,v 1.1 2024/08/03 02:06:31 tsutsui Exp $
+
+- kludge to build on NetBSD/i386 10.0
+  https://mail-index.netbsd.org/pkgsrc-users/2024/07/16/msg039900.html
+
+--- js/src/vm/TypedArrayObject-inl.h.orig      2024-07-25 20:34:47.000000000 +0000
++++ js/src/vm/TypedArrayObject-inl.h
+@@ -404,7 +404,9 @@ class ElementSpecific {
+     // `malloc` returns memory at least as strictly aligned as for max_align_t
+     // and the alignment of max_align_t is a multiple of the size of `T`,
+     // so `SharedMem::cast` will be called with properly aligned memory.
++#if !defined(__i386__)
+     static_assert(alignof(std::max_align_t) % sizeof(T) == 0);
++#endif
+ 
+     SharedMem<T*> dest =
+         target->dataPointerEither().template cast<T*>() + offset;



Home | Main Index | Thread Index | Old Index