Files
pkgsrc-ng/www/firefox/patches/patch-memory_mozalloc_mozalloc__abort.cpp
2016-01-21 23:42:40 +01:00

17 lines
541 B
C++

$NetBSD: patch-memory_mozalloc_mozalloc__abort.cpp,v 1.5 2015/09/23 06:44:42 ryoon Exp $
--- memory/mozalloc/mozalloc_abort.cpp.orig 2015-08-24 21:53:14.000000000 +0000
+++ memory/mozalloc/mozalloc_abort.cpp
@@ -68,7 +68,11 @@ void fillAbortMessage(char (&msg)[N], ui
//
// That segmentation fault will be interpreted as another bug by ASan and as a
// result, ASan will just exit(1) instead of aborting.
+#if defined(SOLARIS)
+void std::abort(void)
+#else
void abort(void)
+#endif
{
#ifdef MOZ_WIDGET_ANDROID
char msg[64] = {};