openbsd-ports/print/scribus/patches/patch-scribus_util_cpp
landry c879e067dc Update to scribus 1.5.5, based on a diff from rsadowski@ reworked by Nam Nguyen, thanks !
Switches to Qt5, fix build with newer poppler via archlinux patches, fix
segfault at startup on ununsed ColorPixmapValue object.

tweaks from sthen@ & myself (mostly depends tidying), tested by rsadowski@
provide a debug package while here
2020-02-19 12:15:45 +00:00

18 lines
431 B
Plaintext

$OpenBSD: patch-scribus_util_cpp,v 1.2 2020/02/19 12:15:45 landry Exp $
Index: scribus/util.cpp
--- scribus/util.cpp.orig
+++ scribus/util.cpp
@@ -40,8 +40,10 @@ for which a new license (GPL+exception) is in place.
#include <csignal>
-#if !defined(_WIN32) && !defined(Q_OS_MAC)
+#if !defined(_WIN32) && !defined(Q_OS_MAC)
+#ifndef __OpenBSD__
#include <execinfo.h>
+#endif
#include <cxxabi.h>
#endif
#if defined(_WIN32)