head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.1 date 2025.10.19.11.56.56; author leot; state Exp; branches; next ; commitid O4nVQ7B6izcESafG; desc @@ 1.1 log @firefox140: Import firefox140-140.4.0 as www/firefox140 Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. Note: Due to upstream's trademark policies, this package identifies as "Nightly" rather than "Firefox" by default. This package provides Firefox 140 Extended Support Release. Based on latest 140.x www/firefox and adjusted for ESR. Thanks to for help! @ text @$NetBSD: patch-js_src_jit_FlushICache.cpp,v 1.3 2025/07/23 13:57:35 ryoon Exp $ NetBSD does not have the Linux-specific membarrier(2) syscall. --- js/src/jit/FlushICache.cpp.orig 2025-06-13 17:08:49.000000000 +0000 +++ js/src/jit/FlushICache.cpp @@@@ -31,12 +31,18 @@@@ # elif defined(__android__) # include # include +# elif defined(__NetBSD__) + // nothing # else # error "Missing platform-specific declarations for membarrier syscall!" # endif // __linux__ / ANDROID static int membarrier(int cmd, int flags) { +#if defined(__NetBSD__) + return ENOSYS; +#else return syscall(__NR_membarrier, cmd, flags); +#endif } // These definitions come from the Linux kernel source, for kernels before 4.16 @@@@ -112,6 +118,8 @@@@ bool CanFlushExecutionContextForAllThrea MOZ_ASSERT(state != MemBarrierAvailable::Unset); return state == MemBarrierAvailable::Yes; +# elif defined(__NetBSD__) + return false; # else // On other platforms, we assume that the syscall for flushing the icache // will flush the execution context for other cores. @