qcad-3.23.0.0.patchset revision a5053a2d
1From d82a98f8d86c4dba669781e856590144ae4a55f8 Mon Sep 17 00:00:00 2001
2From: Gerasim Troeglazov <3dEyes@gmail.com>
3Date: Tue, 21 Aug 2018 23:05:47 +1000
4Subject: Fix build for Haiku
5
6
7diff --git a/src/core/RDebug.cpp b/src/core/RDebug.cpp
8index 0146f2a..b68e1e8 100644
9--- a/src/core/RDebug.cpp
10+++ b/src/core/RDebug.cpp
11@@ -34,7 +34,7 @@ QMap<QString, int> RDebug::counter;
12 QString RDebug::prefix;
13 
14 void RDebug::printBacktrace(const QString& prefix) {
15-#if !defined(Q_OS_WIN) && !defined(Q_OS_ANDROID)
16+#if !defined(Q_OS_WIN) && !defined(Q_OS_ANDROID) && !defined(Q_OS_HAIKU)
17     void *array[20];
18     size_t size;
19     char **strings;
20diff --git a/src/scripting/ecmaapi/ecmaapi.pro b/src/scripting/ecmaapi/ecmaapi.pro
21index 6fa6cdd..e9a60bc 100644
22--- a/src/scripting/ecmaapi/ecmaapi.pro
23+++ b/src/scripting/ecmaapi/ecmaapi.pro
24@@ -5,7 +5,7 @@ TARGET = $${RLIBNAME}ecmaapi
25 CONFIG -= warn_on
26 CONFIG += warn_off
27 CONFIG += precompile_header
28-PRECOMPILED_HEADER = stable.h
29+#PRECOMPILED_HEADER = stable.h
30 OTHER_FILES += ecmaapi.dox
31 DEFINES += QCADECMAAPI_LIBRARY
32 RC_FILE = ecmaapi.rc
33-- 
342.16.4
35
36