$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 -#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 #include #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;