mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
23 lines
920 B
Plaintext
23 lines
920 B
Plaintext
$NetBSD: patch-bc,v 1.2 2013/08/09 11:06:28 drochner Exp $
|
|
|
|
--- scribus/util.cpp.orig 2013-02-25 18:01:35.000000000 +0000
|
|
+++ scribus/util.cpp
|
|
@@ -37,7 +37,7 @@ for which a new license (GPL+exception)
|
|
|
|
#include <signal.h>
|
|
|
|
-#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_HAIKU)
|
|
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_NETBSD) && !defined(Q_OS_HAIKU)
|
|
#include <execinfo.h>
|
|
#include <cxxabi.h>
|
|
#endif
|
|
@@ -946,7 +946,7 @@ void getDashArray(int dashtype, double l
|
|
*/
|
|
void printBacktrace ( int nFrames )
|
|
{
|
|
-#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_OPENBSD) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_HAIKU)
|
|
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_OPENBSD) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_NETBSD) && !defined(Q_OS_HAIKU)
|
|
void ** trace = new void*[nFrames + 1];
|
|
char **messages = ( char ** ) NULL;
|
|
int i, trace_size = 0;
|