aboutsummaryrefslogtreecommitdiffstats
path: root/main/libreoffice/fix-execinfo.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-10 16:22:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-10 16:22:04 +0000
commit8abc2e989fbd0842a5ac2b22149d9831df5a9906 (patch)
tree106fcda072d2fea8909b60bab869b730748e6a78 /main/libreoffice/fix-execinfo.patch
parent49a5d8f68676730b4a02d8971171924d7c8e2146 (diff)
downloadaports-8abc2e989fbd0842a5ac2b22149d9831df5a9906.tar.bz2
aports-8abc2e989fbd0842a5ac2b22149d9831df5a9906.tar.xz
main/libreoffice: moved to main
Diffstat (limited to 'main/libreoffice/fix-execinfo.patch')
-rw-r--r--main/libreoffice/fix-execinfo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libreoffice/fix-execinfo.patch b/main/libreoffice/fix-execinfo.patch
new file mode 100644
index 0000000000..01fca6fb2e
--- /dev/null
+++ b/main/libreoffice/fix-execinfo.patch
@@ -0,0 +1,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