kumquat-buildroot/package/cegui/0001-src-Exceptions.cpp-check-if-execinfo-header-is-avail.patch
Bartosz Bilas 260c408184 package/cegui: rename and bump version
Since spice ver. 0.12.6 doesn't depend on cegui anymore
let's bump to the latest stable version and rename package.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-29 22:37:20 +02:00

34 lines
993 B
Diff

From e18e48624cd45910917e5e4fb0aa16cef490bb6d Mon Sep 17 00:00:00 2001
From: Bartosz Bilas <b.bilas@grinn-global.com>
Date: Sun, 22 Mar 2020 14:25:53 +0100
Subject: [PATCH] src/Exceptions.cpp: check if execinfo header is available
Fixes:
fatal error: execinfo.h: No such file or directory
compilation terminated.
Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
---
Upstream status: https://github.com/cegui/cegui/pull/1189
cegui/src/Exceptions.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cegui/src/Exceptions.cpp b/cegui/src/Exceptions.cpp
index 8e4890378..6a8420491 100644
--- a/cegui/src/Exceptions.cpp
+++ b/cegui/src/Exceptions.cpp
@@ -46,7 +46,9 @@
#elif (defined(__linux__) && !defined(__ANDROID__)) \
|| defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) \
|| defined(__HAIKU__)
+#ifdef HAVE_EXECINFO_H
# include <execinfo.h>
+#endif
# include <dlfcn.h>
# include <cxxabi.h>
# include <cstddef>
--
2.25.2