pkgsrc/print/scribus-qt4/patches/patch-bc
drochner ff60c62de7 first cut on scribus-qt-1.3.9, the current "scribus" release with
the UI ported to qt4
(documents from pkgsrc/scribus can be imported, but not the other way)
2010-12-13 11:49:42 +00:00

22 lines
827 B
Text

$NetBSD: patch-bc,v 1.1.1.1 2010/12/13 11:49:44 drochner Exp $
--- scribus/util.cpp.orig 2010-10-31 10:44:16.000000000 +0000
+++ scribus/util.cpp
@@ -35,7 +35,7 @@ for which a new license (GPL+exception)
#include <signal.h>
-#if !defined(_WIN32) && !defined(Q_OS_MAC)
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_NETBSD)
#include <execinfo.h>
#include <cxxabi.h>
#endif
@@ -937,7 +937,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)
+#if !defined(_WIN32) && !defined(Q_OS_MAC) && !defined(Q_OS_OPENBSD) && !defined(Q_OS_FREEBSD) && !defined(Q_OS_NETBSD)
void ** trace = new void*[nFrames + 1];
char **messages = ( char ** ) NULL;
int i, trace_size = 0;