pkgsrc/www/seamonkey/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp
ryoon b39190ba4c Update to 2.12
* Update Mozilla Lightning to 1.7
* Update Enigmail to 1.4.4 (functionality is not tested yet; should
  be updated)
* Regen patches

Changelog:
SeaMonkey-specific changes
    None.

Mozilla platform changes
    Added support for SPDY networking protocol v3.
    Implemented WebGL enhancements, including compressed textures for better performance.
    Optimized memory usage for add-ons.
    Implemented the CSS word-break property.
    Implemented high precision event timer.
    HTML5: Added native support for the Opus audio codec.
    HTML5: Added support for the source element media attribute.
    HTML5: Added support for the audio element and video element played attribute.
    Fixed several stability issues.

Fixed in SeaMonkey 2.12
MFSA 2012-70 Location object security checks bypassed by chrome code
MFSA 2012-69 Incorrect site SSL certificate data display
MFSA 2012-68 DOMParser loads linked resources in extensions when parsing text/html
MFSA 2012-65 Out-of-bounds read in format-number in XSLT
MFSA 2012-64 Graphite 2 memory corruption
MFSA 2012-63 SVG buffer overflow and use-after-free issues
MFSA 2012-62 WebGL use-after-free and memory corruption
MFSA 2012-61 Memory corruption with bitmap format images with negative height
MFSA 2012-59 Location object can be shadowed using Object.defineProperty
MFSA 2012-58 Use-after-free issues found using Address Sanitizer
MFSA 2012-57 Miscellaneous memory safety hazards (rv:15.0/ rv:10.0.7)
2012-09-06 12:08:50 +00:00

13 lines
526 B
C++

$NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.4 2012/09/06 12:08:52 ryoon Exp $
--- mozilla/js/src/methodjit/MethodJIT.cpp.orig 2012-08-27 04:49:16.000000000 +0000
+++ mozilla/js/src/methodjit/MethodJIT.cpp
@@ -135,7 +135,7 @@ PopActiveVMFrame(VMFrame &f)
JS_STATIC_ASSERT(offsetof(FrameRegs, sp) == 0);
-#if defined(__linux__) && defined(JS_CPU_X64)
+#if defined(__ELF__) && defined(JS_CPU_X64)
# define SYMBOL_STRING_RELOC(name) #name "@plt"
#else
# define SYMBOL_STRING_RELOC(name) SYMBOL_STRING(name)