head 1.3; access; symbols pkgsrc-2017Q3:1.2.0.22 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.18 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.16 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.14 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.12 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.4 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.2 pkgsrc-2014Q4-base:1.1; locks; strict; comment @// @; 1.3 date 2017.10.27.13.52.05; author ryoon; state dead; branches; next 1.2; commitid 1t9uUNgNKBgpbHcA; 1.2 date 2015.05.26.12.18.23; author ryoon; state Exp; branches; next 1.1; commitid ZfM7NUk2z0Z07Xmy; 1.1 date 2014.11.03.12.18.32; author ryoon; state Exp; branches; next ; commitid faEeuguVVaqDFJWx; desc @@ 1.3 log @Remove firefox31 @ text @$NetBSD: patch-js_src_gc_Memory.cpp,v 1.2 2015/05/26 12:18:23 ryoon Exp $ Make sure mmap() delivers memory with upper 17 bits clear on sparc64 on NetBSD: with topdown-vm we would map in the last 4 gig of the address space (past the VA hole) otherwise by default, thus busting the JSValue restrictions. https://bugzilla.mozilla.org/show_bug.cgi?id=994133 --- js/src/gc/Memory.cpp.orig 2015-05-05 02:53:53.000000000 +0000 +++ js/src/gc/Memory.cpp @@@@ -212,7 +212,7 @@@@ gc::InitMemorySubsystem(JSRuntime* rt) static inline void* MapMemory(size_t length, int prot, int flags, int fd, off_t offset) { -#if defined(__ia64__) +#if defined(__ia64__) || (defined(__sparc64__) && defined(__NetBSD__)) /* * The JS engine assumes that all allocated pointers have their high 17 bits clear, * which ia64's mmap doesn't support directly. However, we can emulate it by passing @ 1.2 log @Update to 31.7.0 Changelog: Fixed in Firefox ESR 31.7 2015-57 Privilege escalation through IPC channel messages 2015-54 Buffer overflow when parsing compressed XML 2015-51 Use-after-free during text processing with vertical text enabled 2015-48 Buffer overflow with SVG content and CSS 2015-47 Buffer overflow parsing H.264 video with Linux Gstreamer 2015-46 Miscellaneous memory safety hazards (rv:38.0 / rv:31.7) @ text @d1 1 a1 1 $NetBSD: patch-js_src_gc_Memory.cpp,v 1.1 2014/11/03 12:18:32 ryoon Exp $ @ 1.1 log @Import firefox31-31.2.0 as www/firefox31. 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. @ text @d1 1 a1 1 $NetBSD: patch-js_src_gc_Memory.cpp,v 1.1 2014/04/10 07:33:59 martin Exp $ d10 4 a13 4 --- js/src/gc/Memory.cpp.orig 2014-04-09 20:42:54.000000000 +0200 +++ js/src/gc/Memory.cpp 2014-04-09 20:38:34.000000000 +0200 @@@@ -312,7 +312,7 @@@@ gc::InitMemorySubsystem(JSRuntime *rt) static inline void * @