diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-09-08 17:27:38 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-09-08 17:27:38 +0200 |
commit | 54435d6221d3de6cd3c6af98be527d6ac5f2bbef (patch) | |
tree | 13aebcc7269608600198ad74ee75ba59dc306b60 /mozilla-malloc.patch | |
parent | e9d4e922d33d6305c213144d36adfb480411e868 (diff) |
firefox4-4.0-0.8.beta5 + sync patches with rawhide
Diffstat (limited to 'mozilla-malloc.patch')
-rw-r--r-- | mozilla-malloc.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mozilla-malloc.patch b/mozilla-malloc.patch new file mode 100644 index 0000000..ffb4e53 --- /dev/null +++ b/mozilla-malloc.patch @@ -0,0 +1,12 @@ +diff -up xulrunner-1.9.3.0/mozilla-central/memory/mozalloc/mozalloc.h.old xulrunner-1.9.3.0/mozilla-central/memory/mozalloc/mozalloc.h +--- xulrunner-1.9.3.0/mozilla-central/memory/mozalloc/mozalloc.h.old 2010-08-06 03:09:14.000000000 +0200 ++++ xulrunner-1.9.3.0/mozilla-central/memory/mozalloc/mozalloc.h 2010-08-17 11:15:40.000000000 +0200 +@@ -214,7 +214,7 @@ MOZALLOC_EXPORT void* moz_valloc(size_t + #define MOZALLOC_THROW_IF_HAS_EXCEPTIONS throw() + #endif + +-#ifdef MOZ_CPP_EXCEPTIONS ++#if 1 + #define MOZALLOC_THROW_BAD_ALLOC throw(std::bad_alloc) + #else + #define MOZALLOC_THROW_BAD_ALLOC MOZALLOC_THROW_IF_HAS_EXCEPTIONS |