firefox: Update to 115.0 Changelog: New * Migrating from another browser? Now you can bring over payment methods you've saved in Chrome-based browsers to Firefox. * Hardware video decoding is now enabled for Intel GPUs on Linux. * The Tab Manager dropdown now features close buttons, so you can close tabs more quickly. * We've refreshed and streamlined the user interface for importing data in from other browsers. * Users without platform support for H264 video decoding can now fallback to Cisco's OpenH264 plugin for playback. Fixed * Windows Magnifier now follows the text cursor correctly when the Firefox title bar is visible. * Windows users on low-end/USB wifi drivers and with OS geolocation disabled can now approve geolocation on a case by case basis without causing system-wide network instability. * Various security fixes. Changed * Undo and redo are now available in Password fields. * On Linux, middle clicks on the new tab button will now open the xclipboard contents in the new tab. If the xclipboard content is a URL then that URL is opened, any other text is opened with your default search provider. * For users with a Firefox Colorways built-in theme, the theme will be automatically migrated to the same theme hosted on addons.mozilla.org for Firefox profiles that have disabled add-ons auto-updates. This will allow users to keep their Colorways theme when they are later removed from Firefox installer files. * Certain Firefox users may come across a message in the extensions panel indicating that their add-ons are not allowed on the site currently open. We have introduced a new back-end feature to only allow some extensions monitored by Mozilla to run on specific websites for various reasons, including security concerns. Security fixes: #CVE-2023-3482: Block all cookies bypass for localstorage #CVE-2023-37201: Use-after-free in WebRTC certificate generation #CVE-2023-37202: Potential use-after-free from compartment mismatch in SpiderMonkey #CVE-2023-37203: Drag and Drop API may provide access to local system files #CVE-2023-37204: Fullscreen notification obscured via option element #CVE-2023-37205: URL spoofing in address bar using RTL characters #CVE-2023-37206: Insufficient validation of symlinks in the FileSystem API #CVE-2023-37207: Fullscreen notification obscured #CVE-2023-37208: Lack of warning when opening Diagcab files #CVE-2023-37209: Use-after-free in `NotifyOnHistoryReload` #CVE-2023-37210: Full-screen mode exit prevention #CVE-2023-37211: Memory safety bugs fixed in Firefox 115, Firefox ESR 102.13, and Thunderbird 102.13 #CVE-2023-37212: Memory safety bugs fixed in Firefox 115diff -r1.560 -r1.561 pkgsrc/www/firefox/Makefile
(ryoon)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.560 2023/06/26 13:56:13 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.561 2023/07/07 13:47:09 ryoon Exp $ | |
2 | 2 | |||
3 | FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} | 3 | FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR} | |
4 | MOZ_BRANCH= 114.0 | 4 | MOZ_BRANCH= 115.0 | |
5 | MOZ_BRANCH_MINOR= .2 | 5 | MOZ_BRANCH_MINOR= | |
6 | 6 | |||
7 | DISTNAME= firefox-${FIREFOX_VER}.source | 7 | DISTNAME= firefox-${FIREFOX_VER}.source | |
8 | PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} | 8 | PKGNAME= ${DISTNAME:S/.source//:S/b/beta/:S/esr//} | |
9 | CATEGORIES= www | 9 | CATEGORIES= www | |
10 | MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} | 10 | MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/} | |
11 | MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/} | 11 | MASTER_SITES+= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/source/} | |
12 | EXTRACT_SUFX= .tar.xz | 12 | EXTRACT_SUFX= .tar.xz | |
13 | 13 | |||
14 | NODEJSKIT= nodejs-output-113.0.2.tgz | 14 | NODEJSKIT= nodejs-output-113.0.2.tgz | |
15 | DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT} | 15 | DISTFILES= ${DEFAULT_DISTFILES} ${NODEJSKIT} | |
16 | SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL} | 16 | SITES.${NODEJSKIT}= ${MASTER_SITE_LOCAL} | |
17 | 17 | |||
18 | MAINTAINER= ryoon@NetBSD.org | 18 | MAINTAINER= ryoon@NetBSD.org |
@@ -1,48 +1,48 @@ | @@ -1,48 +1,48 @@ | |||
1 | $NetBSD: distinfo,v 1.499 2023/06/26 13:56:13 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.500 2023/07/07 13:47:09 ryoon Exp $ | |
2 | 2 | |||
3 | BLAKE2s (firefox-114.0.2.source.tar.xz) = 27bdba663d137e53f2318f9d96784cae71cc79086a12214b78bfdb4a9d4ace44 | 3 | BLAKE2s (firefox-115.0.source.tar.xz) = bc81c58d9b86a48565a4b9f2a69873d4e9c4e7acd50c25de69b55d5b21ff2333 | |
4 | SHA512 (firefox-114.0.2.source.tar.xz) = 1d514d09c6b964b96c6d52d54b89a89a92d53a6fe669e16a6370346c980db4d0ac6c502fa89219c71b680566b9eb982e9b3191c21f81d7326f34f6c837c0a872 | 4 | SHA512 (firefox-115.0.source.tar.xz) = ed5d150e4dfdc01026beb3ae502a0b04321dd130084fdef63afce79a8a7a4898741d08f77716ba720c24f31b9c732c00ad0f1cd408b35b5eb6601a10014fb1a2 | |
5 | Size (firefox-114.0.2.source.tar.xz) = 505974216 bytes | 5 | Size (firefox-115.0.source.tar.xz) = 505151516 bytes | |
6 | BLAKE2s (nodejs-output-113.0.2.tgz) = da79ce7a5ab44378ac326caaa496dc5592bfb645b24b09f11c241933dc8ebb86 | 6 | BLAKE2s (nodejs-output-113.0.2.tgz) = da79ce7a5ab44378ac326caaa496dc5592bfb645b24b09f11c241933dc8ebb86 | |
7 | SHA512 (nodejs-output-113.0.2.tgz) = 83c7f21ec8bd1af66aa7ffa4d0ab442c41946f470918100ae50c7792182ed94afc588161a5142cdfbc71b85049beb3c660fce22444fca736a326810cfd8c1d4b | 7 | SHA512 (nodejs-output-113.0.2.tgz) = 83c7f21ec8bd1af66aa7ffa4d0ab442c41946f470918100ae50c7792182ed94afc588161a5142cdfbc71b85049beb3c660fce22444fca736a326810cfd8c1d4b | |
8 | Size (nodejs-output-113.0.2.tgz) = 216297 bytes | 8 | Size (nodejs-output-113.0.2.tgz) = 216297 bytes | |
9 | SHA1 (patch-browser_app_profile_firefox.js) = 3b01cf7e37ea39bdd358fb14de5ce382b945ae39 | 9 | SHA1 (patch-browser_app_profile_firefox.js) = 3b01cf7e37ea39bdd358fb14de5ce382b945ae39 | |
10 | SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 | 10 | SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7446d480678 | |
11 | SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a | 11 | SHA1 (patch-config_gcc-stl-wrapper.template.h) = 9d1f15ff487efa9202114d19ed5668b4e7aa032a | |
12 | SHA1 (patch-config_makefiles_rust.mk) = 38c613cd87a9c3f868179caaab6e8a029eafd65f | 12 | SHA1 (patch-config_makefiles_rust.mk) = 788ab8fed45625bc5552c56a3ab05b5ed7d49a8f | |
13 | SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 | 13 | SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 | |
14 | SHA1 (patch-dom_webtransport_api_WebTransportDatagramDuplexStream.cpp) = b93b4c6367bd2fb3d1868ab7d97ca56c100be414 | 14 | SHA1 (patch-dom_webtransport_api_WebTransportDatagramDuplexStream.cpp) = b93b4c6367bd2fb3d1868ab7d97ca56c100be414 | |
15 | SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 | 15 | SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993 | |
16 | SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045 | 16 | SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = b2adce9e65662283a11b6dcff40e95523e940045 | |
17 | SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad | 17 | SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad | |
18 | SHA1 (patch-gfx_skia_skia_src_core_SkVM.cpp) = 11d8084e933f68496fc4d2f57d1eb1065483bf9c | 18 | SHA1 (patch-gfx_skia_skia_src_core_SkVM.cpp) = 11d8084e933f68496fc4d2f57d1eb1065483bf9c | |
19 | SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb | 19 | SHA1 (patch-gfx_wr_swgl_build.rs) = df6ebfaabb4d27994e59a9d0eaf12c7cf08415fb | |
20 | SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 298642a3527804115b398fb7904a3596962932e3 | 20 | SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 298642a3527804115b398fb7904a3596962932e3 | |
21 | SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 | 21 | SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658 | |
22 | SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 6cdd0fe60455eab8f9846257c2bfea207f19478b | 22 | SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 6cdd0fe60455eab8f9846257c2bfea207f19478b | |
23 | SHA1 (patch-js_src_jit_FlushICache.cpp) = b7536050d06e87612fbedc7ce269b5f120eb0ce9 | 23 | SHA1 (patch-js_src_jit_FlushICache.cpp) = b7536050d06e87612fbedc7ce269b5f120eb0ce9 | |
24 | SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = 1e25924a29e3700b0e0e5d143f1db35029b431fb | 24 | SHA1 (patch-js_src_jit_ProcessExecutableMemory.cpp) = 1e25924a29e3700b0e0e5d143f1db35029b431fb | |
25 | SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba | 25 | SHA1 (patch-js_src_util_NativeStack.cpp) = a0a16d8d8d78d3cc3f4d2a508586f1a7821f7dba | |
26 | SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 374ffc0ce12e1c5babf2e553aba96612b0a30b1e | 26 | SHA1 (patch-js_src_vm_ArrayBufferObject.cpp) = 374ffc0ce12e1c5babf2e553aba96612b0a30b1e | |
27 | SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a | 27 | SHA1 (patch-media_ffvpx_libavutil_arm_bswap.h) = de58daa0fd23d4fec50426602b65c9ea5862558a | |
28 | SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc | 28 | SHA1 (patch-media_libpng_pngpriv.h) = c8084332560017cd7c9b519b61d125fa28af0dbc | |
29 | SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f | 29 | SHA1 (patch-media_libtheora_lib_info.c) = f6dbf536d73859a1ff78304c2e9f6a6f74dac01f | |
30 | SHA1 (patch-modules_fdlibm_src_math__private.h) = e20b6c23011d7123cbbd64a500eb8ce8c426620e | 30 | SHA1 (patch-modules_fdlibm_src_math__private.h) = e20b6c23011d7123cbbd64a500eb8ce8c426620e | |
31 | SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = b0d1f6a6e0eb852b0fd0238ad3f8ed3166c60a50 | 31 | SHA1 (patch-nsprpub_pr_src_pthreads_ptsynch.c) = b0d1f6a6e0eb852b0fd0238ad3f8ed3166c60a50 | |
32 | SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 | 32 | SHA1 (patch-security_nss_lib_freebl_mpi_mpi.c) = a7cd867916524770609d1c307a65b315b88456f4 | |
33 | SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4 | 33 | SHA1 (patch-third__party_js_cfworker_build.sh) = 46cdf97b99cf01080f290ae8d9a33b5f869fc3e4 | |
34 | SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = 455be625b5de2f6f1f4b2dbb6c8cb33ca16c2583 | 34 | SHA1 (patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = 455be625b5de2f6f1f4b2dbb6c8cb33ca16c2583 | |
35 | SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = 8848fb05c1e8b45234f74db71602a8a84c0404a4 | 35 | SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_device__info__v4l2.cc) = 8848fb05c1e8b45234f74db71602a8a84c0404a4 | |
36 | SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_video__capture__v4l2.cc) = 8111952a107eb2cd665525ddd0e27c79eee3c1cd | 36 | SHA1 (patch-third__party_libwebrtc_modules_video__capture_linux_video__capture__v4l2.cc) = 8111952a107eb2cd665525ddd0e27c79eee3c1cd | |
37 | SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8 | 37 | SHA1 (patch-third__party_libwebrtc_system__wrappers_source_cpu__features__linux.cc) = b90e22b50879f7adcc1da3a993f52c0701b720f8 | |
38 | SHA1 (patch-third__party_sqlite3_src_moz.build) = 2786a1f1d173e3774d89b5cdb0fd8f3148e47324 | 38 | SHA1 (patch-third__party_sqlite3_src_moz.build) = b26856a4b87aa12211575d9982f62dc899474b52 | |
39 | SHA1 (patch-third__party_wasm2c_src_prebuilt_wasm2c__source__includes.cc) = 99d0db944f0c2d0c623460991efd423d9127c988 | 39 | SHA1 (patch-third__party_wasm2c_src_prebuilt_wasm2c__source__includes.cc) = 99d0db944f0c2d0c623460991efd423d9127c988 | |
40 | SHA1 (patch-third__party_wasm2c_wasm2c_wasm-rt-impl.c) = cd5fd67f53d7a448cc9075a3756e2a03d4f43e4b | 40 | SHA1 (patch-third__party_wasm2c_wasm2c_wasm-rt-impl.c) = cd5fd67f53d7a448cc9075a3756e2a03d4f43e4b | |
41 | SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = e905e38ef1b88d764c695c019f15609350c1c43b | 41 | SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = e905e38ef1b88d764c695c019f15609350c1c43b | |
42 | SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 2303b753066298305ccae80d72765dbc4da5e0dc | 42 | SHA1 (patch-toolkit_modules_subprocess_subprocess__shared__unix.js) = 2303b753066298305ccae80d72765dbc4da5e0dc | |
43 | SHA1 (patch-toolkit_moz.configure) = c183f8b1566ffed0df17bf856f693b3a288affeb | 43 | SHA1 (patch-toolkit_moz.configure) = c183f8b1566ffed0df17bf856f693b3a288affeb | |
44 | SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662 | 44 | SHA1 (patch-toolkit_mozapps_installer_packager.mk) = 706635b76a7b525794aba95e95544f09e18bb662 | |
45 | SHA1 (patch-toolkit_xre_glxtest.cpp) = adcd5b05fcbd7b41c01a2aa66f3e8f05ed230444 | 45 | SHA1 (patch-toolkit_xre_glxtest.cpp) = adcd5b05fcbd7b41c01a2aa66f3e8f05ed230444 | |
46 | SHA1 (patch-widget_gtk_DMABufSurface.cpp) = b07836c49c0c9c85e7923d3297ad674453165522 | 46 | SHA1 (patch-widget_gtk_DMABufSurface.cpp) = 7d1d2d7770e563c7b912e24444254ae2791710ea | |
47 | SHA1 (patch-xpcom_base_nscore.h) = 1ac4d34d3c9e80bc1ac966c6c84cb320bc0fa1ec | 47 | SHA1 (patch-xpcom_base_nscore.h) = 1ac4d34d3c9e80bc1ac966c6c84cb320bc0fa1ec | |
48 | SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 81d43a046fcef6bf6717d52485686ba8e8738254 | 48 | SHA1 (patch-xpcom_reflect_xptcall_md_unix_moz.build) = 81d43a046fcef6bf6717d52485686ba8e8738254 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: mozilla-common.mk,v 1.256 2023/06/14 16:22:18 ryoon Exp $ | 1 | # $NetBSD: mozilla-common.mk,v 1.257 2023/07/07 13:47:09 ryoon Exp $ | |
2 | # | 2 | # | |
3 | # common Makefile fragment for mozilla packages based on gecko 2.0. | 3 | # common Makefile fragment for mozilla packages based on gecko 2.0. | |
4 | # | 4 | # | |
5 | # used by www/firefox/Makefile | 5 | # used by www/firefox/Makefile | |
6 | 6 | |||
7 | .include "../../mk/bsd.prefs.mk" | 7 | .include "../../mk/bsd.prefs.mk" | |
8 | 8 | |||
9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 9 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
10 | PYTHON_FOR_BUILD_ONLY= tool | 10 | PYTHON_FOR_BUILD_ONLY= tool | |
11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | 11 | ALL_ENV+= PYTHON3=${PYTHONBIN} | |
12 | 12 | |||
13 | REPLACE_PYTHON= build/cargo-linker | 13 | REPLACE_PYTHON= build/cargo-linker | |
14 | 14 | |||
@@ -81,28 +81,27 @@ CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}j | @@ -81,28 +81,27 @@ CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}j | |||
81 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure | 81 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}intl/icu/source/configure | |
82 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh | 82 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/components/loop/run-all-loop-tests.sh | |
83 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh | 83 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}browser/extensions/loop/run-all-loop-tests.sh | |
84 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/libwebrtc/tools_webrtc/iwyu/apply-iwyu | 84 | CHECK_PORTABILITY_SKIP+= ${MOZILLA_DIR}third_party/libwebrtc/tools_webrtc/iwyu/apply-iwyu | |
85 | 85 | |||
86 | CONFIGURE_ARGS+= --enable-release | 86 | CONFIGURE_ARGS+= --enable-release | |
87 | # Disable Rust SIMD option to fix build with lang/rust-1.33.0 | 87 | # Disable Rust SIMD option to fix build with lang/rust-1.33.0 | |
88 | # This should be enabled later again. | 88 | # This should be enabled later again. | |
89 | #CONFIGURE_ARGS+= --enable-rust-simd | 89 | #CONFIGURE_ARGS+= --enable-rust-simd | |
90 | CONFIGURE_ARGS+= --disable-tests | 90 | CONFIGURE_ARGS+= --disable-tests | |
91 | # Mozilla Bug 1432751 | 91 | # Mozilla Bug 1432751 | |
92 | #CONFIGURE_ARGS+= --enable-system-cairo | 92 | #CONFIGURE_ARGS+= --enable-system-cairo | |
93 | CONFIGURE_ARGS+= --enable-system-pixman | 93 | CONFIGURE_ARGS+= --enable-system-pixman | |
94 | # webrtc option requires internal libvpx | 94 | CONFIGURE_ARGS+= --with-system-libvpx | |
95 | #CONFIGURE_ARGS+= --with-system-libvpx | |||
96 | CONFIGURE_ARGS+= --enable-system-ffi | 95 | CONFIGURE_ARGS+= --enable-system-ffi | |
97 | CONFIGURE_ARGS+= --with-system-icu | 96 | CONFIGURE_ARGS+= --with-system-icu | |
98 | CONFIGURE_ARGS+= --with-system-nss | 97 | CONFIGURE_ARGS+= --with-system-nss | |
99 | CONFIGURE_ARGS+= --with-system-nspr | 98 | CONFIGURE_ARGS+= --with-system-nspr | |
100 | #CONFIGURE_ARGS+= --with-system-jpeg | 99 | #CONFIGURE_ARGS+= --with-system-jpeg | |
101 | CONFIGURE_ARGS+= --with-system-zlib | 100 | CONFIGURE_ARGS+= --with-system-zlib | |
102 | CONFIGURE_ARGS+= --with-system-libevent | 101 | CONFIGURE_ARGS+= --with-system-libevent | |
103 | CONFIGURE_ARGS+= --disable-crashreporter | 102 | CONFIGURE_ARGS+= --disable-crashreporter | |
104 | CONFIGURE_ARGS+= --enable-chrome-format=omni | 103 | CONFIGURE_ARGS+= --enable-chrome-format=omni | |
105 | CONFIGURE_ARGS+= --with-system-webp | 104 | CONFIGURE_ARGS+= --with-system-webp | |
106 | 105 | |||
107 | #CONFIGURE_ARGS+= --enable-readline | 106 | #CONFIGURE_ARGS+= --enable-readline | |
108 | CONFIGURE_ARGS+= --disable-icf | 107 | CONFIGURE_ARGS+= --disable-icf | |
@@ -218,42 +217,41 @@ create-rm-wrapper: | @@ -218,42 +217,41 @@ create-rm-wrapper: | |||
218 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' | 217 | # dist/bin/libxul.so: undefined reference to `__tls_get_addr' | |
219 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no | 218 | CONFIGURE_ENV.NetBSD+= ac_cv_thread_keyword=no | |
220 | # In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails. | 219 | # In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails. | |
221 | CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic= | 220 | CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic= | |
222 | 221 | |||
223 | .include "../../sysutils/pciutils/buildlink3.mk" | 222 | .include "../../sysutils/pciutils/buildlink3.mk" | |
224 | .include "../../mk/atomic64.mk" | 223 | .include "../../mk/atomic64.mk" | |
225 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 | 224 | BUILDLINK_API_DEPENDS.libevent+= libevent>=1.1 | |
226 | .include "../../devel/libevent/buildlink3.mk" | 225 | .include "../../devel/libevent/buildlink3.mk" | |
227 | .include "../../devel/libffi/buildlink3.mk" | 226 | .include "../../devel/libffi/buildlink3.mk" | |
228 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.34 | 227 | BUILDLINK_API_DEPENDS.nspr+= nspr>=4.34 | |
229 | .include "../../devel/nspr/buildlink3.mk" | 228 | .include "../../devel/nspr/buildlink3.mk" | |
230 | .include "../../textproc/icu/buildlink3.mk" | 229 | .include "../../textproc/icu/buildlink3.mk" | |
231 | BUILDLINK_API_DEPENDS.nss+= nss>=3.89 | 230 | BUILDLINK_API_DEPENDS.nss+= nss>=3.90 | |
232 | .include "../../devel/nss/buildlink3.mk" | 231 | .include "../../devel/nss/buildlink3.mk" | |
233 | .include "../../devel/zlib/buildlink3.mk" | 232 | .include "../../devel/zlib/buildlink3.mk" | |
234 | #.include "../../mk/jpeg.buildlink3.mk" | 233 | #.include "../../mk/jpeg.buildlink3.mk" | |
235 | .include "../../graphics/MesaLib/buildlink3.mk" | 234 | .include "../../graphics/MesaLib/buildlink3.mk" | |
236 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 | 235 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10.2nb4 | |
237 | #.include "../../graphics/cairo/buildlink3.mk" | 236 | #.include "../../graphics/cairo/buildlink3.mk" | |
238 | BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2 | 237 | BUILDLINK_API_DEPENDS.libwebp+= libwebp>=1.0.2 | |
239 | .include "../../graphics/libwebp/buildlink3.mk" | 238 | .include "../../graphics/libwebp/buildlink3.mk" | |
240 | BUILDLINK_DEPMETHOD.clang= build | 239 | BUILDLINK_DEPMETHOD.clang= build | |
241 | .include "../../lang/clang/buildlink3.mk" | 240 | .include "../../lang/clang/buildlink3.mk" | |
242 | RUST_REQ= 1.65.0 | 241 | RUST_REQ= 1.65.0 | |
243 | .include "../../lang/rust/rust.mk" | 242 | .include "../../lang/rust/rust.mk" | |
244 | # webrtc option requires internal libvpx | 243 | BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.13.0 | |
245 | #BUILDLINK_API_DEPENDS.libvpx+= libvpx>=1.3.0 | 244 | .include "../../multimedia/libvpx/buildlink3.mk" | |
246 | #.include "../../multimedia/libvpx/buildlink3.mk" | |||
247 | .include "../../net/libIDL/buildlink3.mk" | 245 | .include "../../net/libIDL/buildlink3.mk" | |
248 | # TODO: check again, pkgsrc has hunspell 1.7 | 246 | # TODO: check again, pkgsrc has hunspell 1.7 | |
249 | # was: textproc/hunspell 1.3 is too old | 247 | # was: textproc/hunspell 1.3 is too old | |
250 | #.include "../../textproc/hunspell/buildlink3.mk" | 248 | #.include "../../textproc/hunspell/buildlink3.mk" | |
251 | .include "../../multimedia/ffmpeg6/buildlink3.mk" | 249 | .include "../../multimedia/ffmpeg6/buildlink3.mk" | |
252 | .include "../../x11/libXt/buildlink3.mk" | 250 | .include "../../x11/libXt/buildlink3.mk" | |
253 | .include "../../x11/libXtst/buildlink3.mk" | 251 | .include "../../x11/libXtst/buildlink3.mk" | |
254 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 | 252 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.25.2 | |
255 | .include "../../x11/pixman/buildlink3.mk" | 253 | .include "../../x11/pixman/buildlink3.mk" | |
256 | .include "../../x11/gtk3/buildlink3.mk" | 254 | .include "../../x11/gtk3/buildlink3.mk" | |
257 | PLIST_VARS+= wayland | 255 | PLIST_VARS+= wayland | |
258 | .if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} | 256 | .if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} | |
259 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3-x11-wayland | 257 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3-x11-wayland |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh | |
2 | 2 | |||
3 | VERS=v20.2.0 | 3 | VERS=v20.3.1 | |
4 | 4 | |||
5 | if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then | 5 | if [ "$1" = "-v" ] || [ "$1" = "--version" ]; then | |
6 | printf "${VERS}\n" | 6 | printf "${VERS}\n" | |
7 | fi | 7 | fi | |
8 | 8 | |||
9 | exit 0 | 9 | exit 0 |
@@ -1,30 +1,29 @@ | @@ -1,30 +1,29 @@ | |||
1 | $NetBSD: patch-config_makefiles_rust.mk,v 1.11 2023/06/04 09:26:35 ryoon Exp $ | 1 | $NetBSD: patch-config_makefiles_rust.mk,v 1.12 2023/07/07 13:47:10 ryoon Exp $ | |
2 | 2 | |||
3 | NetBSD doesn't get along with parallel rust builds (it causes issues | 3 | NetBSD doesn't get along with parallel rust builds (it causes issues | |
4 | with ld.so) which are the default. Force -j1. | 4 | with ld.so) which are the default. Force -j1. | |
5 | 5 | |||
6 | Use less memory to fix build under NetBSD/i386. | 6 | Use less memory to fix build under NetBSD/i386. | |
7 | From: https://bugzilla.mozilla.org/show_bug.cgi?id=1644409 | 7 | From: https://bugzilla.mozilla.org/show_bug.cgi?id=1644409 | |
8 | 8 | |||
9 | --- config/makefiles/rust.mk.orig 2022-06-08 14:10:19.000000000 +0000 | 9 | --- config/makefiles/rust.mk.orig 2023-06-22 21:19:03.000000000 +0000 | |
10 | +++ config/makefiles/rust.mk | 10 | +++ config/makefiles/rust.mk | |
11 | @@ -58,6 +58,9 @@ ifdef MOZ_TSAN | 11 | @@ -60,6 +60,9 @@ ifdef MOZ_TSAN | |
12 | cargo_build_flags += -Zbuild-std=std,panic_abort | 12 | cargo_build_flags += -Zbuild-std=std,panic_abort | |
13 | RUSTFLAGS += -Zsanitizer=thread | 13 | RUSTFLAGS += -Zsanitizer=thread | |
14 | endif | 14 | endif | |
15 | +ifeq ($(OS_ARCH),NetBSD) | 15 | +ifeq ($(OS_ARCH),NetBSD) | |
16 | +cargo_build_flags += @RUST_MAKE_JOBS@ | 16 | +cargo_build_flags += @RUST_MAKE_JOBS@ | |
17 | +endif | 17 | +endif | |
18 | 18 | |||
19 | rustflags_sancov = | 19 | rustflags_sancov = | |
20 | ifdef LIBFUZZER | 20 | ifdef LIBFUZZER | |
21 | @@ -90,7 +93,8 @@ ifndef rustflags_sancov | 21 | @@ -92,7 +95,7 @@ ifndef rustflags_sancov | |
22 | # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045. | 22 | # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045. | |
23 | ifndef MOZ_CODE_COVERAGE | 23 | ifndef MOZ_CODE_COVERAGE | |
24 | ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) | 24 | ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) | |
25 | -cargo_rustc_flags += -Clto | 25 | -cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat) | |
26 | +cargo_rustc_flags += -Clto=thin | 26 | +cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=thin) | |
27 | +export CARGO_PROFILE_RELEASE_LTO=thin | |||
28 | endif | 27 | endif | |
29 | # We need -Cembed-bitcode=yes for all crates when using -Clto. | 28 | # We need -Cembed-bitcode=yes for all crates when using -Clto. | |
30 | RUSTFLAGS += -Cembed-bitcode=yes | 29 | RUSTFLAGS += -Cembed-bitcode=yes |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-third__party_sqlite3_src_moz.build,v 1.1 2023/06/14 16:22:18 ryoon Exp $ | 1 | $NetBSD: patch-third__party_sqlite3_src_moz.build,v 1.2 2023/07/07 13:47:10 ryoon Exp $ | |
2 | 2 | |||
3 | * Fix segfault under NetBSD/i386 9 and pkgsrc/lang/gcc8-8.5.0 | 3 | * Fix segfault under NetBSD/i386 9 and pkgsrc/lang/gcc8-8.5.0 | |
4 | For NetBSD/i386 9, @SQLITE3OPTFLAG@ will be replaced with "'-O0',". | 4 | For NetBSD/i386 9, @SQLITE3OPTFLAG@ will be replaced with "'-O0',". | |
5 | 5 | |||
6 | --- third_party/sqlite3/src/moz.build.orig 2023-06-08 22:35:48.000000000 +0000 | 6 | --- third_party/sqlite3/src/moz.build.orig 2023-06-22 21:19:22.000000000 +0000 | |
7 | +++ third_party/sqlite3/src/moz.build | 7 | +++ third_party/sqlite3/src/moz.build | |
8 | @@ -106,4 +106,5 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc') | 8 | @@ -108,6 +108,7 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc') | |
9 | CFLAGS += [ | 9 | CFLAGS += [ | |
10 | '-Wno-sign-compare', | 10 | '-Wno-sign-compare', | |
11 | '-Wno-type-limits', | 11 | '-Wno-type-limits', | |
12 | + @SQLITE3OPTFLAG@ | 12 | + @SQLITE3OPTFLAG@ | |
13 | ] | 13 | ] | |
14 | ||||
15 | # Set a default journal size limit. Note an hot journal can grow over this |
@@ -1,42 +1,42 @@ | @@ -1,42 +1,42 @@ | |||
1 | $NetBSD: patch-widget_gtk_DMABufSurface.cpp,v 1.5 2023/04/18 14:00:11 ryoon Exp $ | 1 | $NetBSD: patch-widget_gtk_DMABufSurface.cpp,v 1.6 2023/07/07 13:47:10 ryoon Exp $ | |
2 | 2 | |||
3 | No eventfd on NetBSD 9 and older, fix build | 3 | No eventfd on NetBSD 9 and older, fix build | |
4 | 4 | |||
5 | --- widget/gtk/DMABufSurface.cpp.orig 2023-03-30 21:16:10.000000000 +0000 | 5 | --- widget/gtk/DMABufSurface.cpp.orig 2023-06-22 21:19:23.000000000 +0000 | |
6 | +++ widget/gtk/DMABufSurface.cpp | 6 | +++ widget/gtk/DMABufSurface.cpp | |
7 | @@ -6,6 +6,9 @@ | 7 | @@ -6,6 +6,9 @@ | |
8 | 8 | |||
9 | #include "DMABufSurface.h" | 9 | #include "DMABufSurface.h" | |
10 | 10 | |||
11 | +#if defined(__NetBSD__) | 11 | +#if defined(__NetBSD__) | |
12 | +#include <sys/param.h> | 12 | +#include <sys/param.h> | |
13 | +#endif | 13 | +#endif | |
14 | #include <fcntl.h> | 14 | #include <fcntl.h> | |
15 | #include <getopt.h> | 15 | #include <getopt.h> | |
16 | #include <signal.h> | 16 | #include <signal.h> | |
17 | @@ -18,7 +21,9 @@ | 17 | @@ -18,7 +21,9 @@ | |
18 | #include <sys/time.h> | 18 | #include <sys/time.h> | |
19 | #include <dlfcn.h> | 19 | #include <dlfcn.h> | |
20 | #include <sys/mman.h> | 20 | #include <sys/mman.h> | |
21 | +#if !(defined(__NetBSD__) && (__NetBSD_Version__ - 0 < 1000000000)) | 21 | +#if !(defined(__NetBSD__) && (__NetBSD_Version__ - 0 < 1000000000)) | |
22 | #include <sys/eventfd.h> | 22 | #include <sys/eventfd.h> | |
23 | +#endif | 23 | +#endif | |
24 | #include <poll.h> | 24 | #include <poll.h> | |
25 | #include <sys/ioctl.h> | 25 | #include <sys/ioctl.h> | |
26 | 26 | |||
27 | @@ -134,6 +139,7 @@ void DMABufSurface::GlobalRefAdd() { | 27 | @@ -147,6 +152,7 @@ void DMABufSurface::GlobalRefAdd() { | |
28 | } | 28 | } | |
29 | 29 | |||
30 | void DMABufSurface::GlobalRefCountCreate() { | 30 | void DMABufSurface::GlobalRefCountCreate() { | |
31 | +#if !(defined(__NetBSD__) && (__NetBSD_Version__ - 0 < 1000000000)) | 31 | +#if !(defined(__NetBSD__) && (__NetBSD_Version__ - 0 < 1000000000)) | |
32 | MOZ_ASSERT(!mGlobalRefCountFd); | 32 | LOGDMABUFREF(("DMABufSurface::GlobalRefCountCreate UID %d", mUID)); | |
33 | MOZ_DIAGNOSTIC_ASSERT(!mGlobalRefCountFd); | |||
33 | // Create global ref count initialized to 0, | 34 | // Create global ref count initialized to 0, | |
34 | // i.e. is not referenced after create. | 35 | @@ -159,6 +165,7 @@ void DMABufSurface::GlobalRefCountCreate | |
35 | @@ -145,6 +151,7 @@ void DMABufSurface::GlobalRefCountCreate | |||
36 | mGlobalRefCountFd = 0; | 36 | mGlobalRefCountFd = 0; | |
37 | return; | 37 | return; | |
38 | } | 38 | } | |
39 | +#endif | 39 | +#endif | |
40 | } | 40 | } | |
41 | 41 | |||
42 | void DMABufSurface::GlobalRefCountImport(int aFd) { | 42 | void DMABufSurface::GlobalRefCountImport(int aFd) { |