From 54435d6221d3de6cd3c6af98be527d6ac5f2bbef Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 8 Sep 2010 17:27:38 +0200 Subject: firefox4-4.0-0.8.beta5 + sync patches with rawhide --- mozilla-malloc.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mozilla-malloc.patch (limited to 'mozilla-malloc.patch') 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 -- cgit