aboutsummaryrefslogtreecommitdiffstats
path: root/community/libreoffice/fix-execinfo.patch
blob: 01fca6fb2e6dc4772fc9dc0dbc380e3a515ce520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ru sal.orig/osl/unx/backtrace.h sal/osl/unx/backtrace.h
--- a/sal/osl/unx/backtrace.h	2015-01-22 22:05:28.000000000 -0200
+++ b/sal/osl/unx/backtrace.h	2015-02-02 17:06:27.765494731 -0200
@@ -47,7 +47,7 @@
 
 #endif /* defined SOLARIS || FREEBSD || NETBSD || OPENBSD */
 
-#if defined (LINUX)
+#if defined (LINUX) && defined (__GLIBC__)
 #include <execinfo.h>
 #endif
 
diff -ru sal.orig/osl/unx/signal.cxx sal/osl/unx/signal.cxx
--- a/sal/osl/unx/signal.cxx	2015-01-22 22:05:28.000000000 -0200
+++ b/sal/osl/unx/signal.cxx	2015-02-02 17:06:53.495496086 -0200
@@ -36,7 +36,7 @@
 
 #endif /* MACOSX */
 
-#ifdef LINUX
+#if defined (LINUX) && defined (__GLIBC__)
 #include <execinfo.h>
 #include <link.h>
 #define INCLUDE_BACKTRACE