summaryrefslogtreecommitdiff
path: root/firefox4-build-throw.patch
diff options
context:
space:
mode:
authorTom "spot" Callaway <tcallawa@redhat.com>2010-09-07 10:57:17 -0400
committerTom "spot" Callaway <tcallawa@redhat.com>2010-09-07 10:57:17 -0400
commit7807013a6c58c16080f481c06b6ca44ea492f15d (patch)
treeaf27c7be8d11debe4e9d55d670e7a3b6ee710966 /firefox4-build-throw.patch
parenttarball upload (diff)
downloadlibrewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.tar.gz
librewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.tar.bz2
librewolf-fedora-ff-7807013a6c58c16080f481c06b6ca44ea492f15d.zip
fixed patches, fixed spec file
Diffstat (limited to 'firefox4-build-throw.patch')
-rw-r--r--firefox4-build-throw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/firefox4-build-throw.patch b/firefox4-build-throw.patch
new file mode 100644
index 0000000..87a3058
--- /dev/null
+++ b/firefox4-build-throw.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-central/memory/mozalloc/mozalloc.h.throw mozilla-central/memory/mozalloc/mozalloc.h
+--- mozilla-central/memory/mozalloc/mozalloc.h.throw 2010-09-01 17:21:53.906286481 -0400
++++ mozilla-central/memory/mozalloc/mozalloc.h 2010-09-01 17:22:27.422157338 -0400
+@@ -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
bgstack15