firefox/firefox-4.0-build-throw.patch
Silvan Calarco 4a552926a4 require xulrunner
fixed startup script %{_bindir}/firefox for x86_64 [release 17.0.1-2mamba;Wed Sep 25 2013]
2024-01-05 22:19:07 +01:00

12 lines
382 B
Diff

--- memory/mozalloc/mozalloc.h 2010-09-14 16:14:54.000000000 +0200
+++ memory/mozalloc/mozalloc.h-gil 2010-10-05 00:45:01.000000000 +0200
@@ -214,7 +214,7 @@
#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