78782af087
* Update enigmail to 1.7 Changelog: NEW Autocompleting email addresses now matches against any part of the name or email (bug 529584) NEW Composing a mail to a newsgroup will now autocomplete newsgroup names (bug 61491) FIXED Insecure NTLM (pre-NTLMv2) authentication disabled (see 828183) Fixed in Thunderbird 31 MFSA 2014-66 IFRAME sandbox same-origin access through redirect MFSA 2014-65 Certificate parsing broken by non-standard character encoding MFSA 2014-64 Crash in Skia library when scaling high quality images MFSA 2014-63 Use-after-free while when manipulating certificates in the trusted cache MFSA 2014-62 Exploitable WebGL crash with Cesium JavaScript library MFSA 2014-61 Use-after-free with FireOnStateChange event MFSA 2014-59 Use-after-free in DirectWrite font handling MFSA 2014-58 Use-after-free in Web Audio due to incorrect control message ordering MFSA 2014-57 Buffer overflow during Web Audio buffering for playback MFSA 2014-56 Miscellaneous memory safety hazards (rv:31.0 / rv:24.7)
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
$NetBSD: patch-mozilla_mfbt_Attributes.h,v 1.1 2014/07/27 20:04:59 ryoon Exp $
|
|
|
|
--- mozilla/mfbt/Attributes.h.orig 2014-07-18 00:05:43.000000000 +0000
|
|
+++ mozilla/mfbt/Attributes.h
|
|
@@ -54,6 +54,9 @@
|
|
# ifndef __has_extension
|
|
# define __has_extension __has_feature /* compatibility, for older versions of clang */
|
|
# endif
|
|
+# if __has_extension(cxx_alignas)
|
|
+# define MOZ_HAVE_CXX11_ALIGNAS
|
|
+# endif
|
|
# if __has_extension(cxx_constexpr)
|
|
# define MOZ_HAVE_CXX11_CONSTEXPR
|
|
# endif
|
|
@@ -75,6 +78,9 @@
|
|
# endif
|
|
#elif defined(__GNUC__)
|
|
# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
|
|
+# if MOZ_GCC_VERSION_AT_LEAST(4, 8, 0)
|
|
+# define MOZ_HAVE_CXX11_ALIGNAS
|
|
+# endif
|
|
# if MOZ_GCC_VERSION_AT_LEAST(4, 7, 0)
|
|
# define MOZ_HAVE_CXX11_OVERRIDE
|
|
# define MOZ_HAVE_CXX11_FINAL final
|
|
@@ -96,6 +102,7 @@
|
|
# define MOZ_HAVE_NORETURN __attribute__((noreturn))
|
|
#elif defined(_MSC_VER)
|
|
# if _MSC_VER >= 1800
|
|
+# define MOZ_HAVE_CXX11_ALIGNAS
|
|
# define MOZ_HAVE_CXX11_DELETE
|
|
# endif
|
|
# if _MSC_VER >= 1700
|