aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefson <herrtimson@yahoo.de>2017-12-01 21:23:48 +0100
committerAnthony G. Basile <blueness@gentoo.org>2017-12-09 21:16:25 -0500
commitb4218d5055b8428f6b7f3a89beeeca2cfd714eaf (patch)
tree54da766e9c22ed784bb72c892bf4d7e39ca2b816 /app-office
parentapp-office/libreoffice: fix typo in ebuild to make it configure (diff)
downloadmusl-b4218d5055b8428f6b7f3a89beeeca2cfd714eaf.tar.gz
musl-b4218d5055b8428f6b7f3a89beeeca2cfd714eaf.tar.bz2
musl-b4218d5055b8428f6b7f3a89beeeca2cfd714eaf.zip
app-office/libreoffice: update fix-execinfo patch
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice/files/libreoffice-5.4.2.2-musl-fix-execinfo.patch29
1 files changed, 22 insertions, 7 deletions
diff --git a/app-office/libreoffice/files/libreoffice-5.4.2.2-musl-fix-execinfo.patch b/app-office/libreoffice/files/libreoffice-5.4.2.2-musl-fix-execinfo.patch
index 7b77e66..4c3b359 100644
--- a/app-office/libreoffice/files/libreoffice-5.4.2.2-musl-fix-execinfo.patch
+++ b/app-office/libreoffice/files/libreoffice-5.4.2.2-musl-fix-execinfo.patch
@@ -1,6 +1,7 @@
-diff -Naur libreoffice-5.4.2.2.orig/sal/osl/unx/backtrace.h libreoffice-5.4.2.2/sal/osl/unx/backtrace.h
---- libreoffice-5.4.2.2.orig/sal/osl/unx/backtrace.h 2017-09-27 14:03:26.000000000 -0400
-+++ libreoffice-5.4.2.2/sal/osl/unx/backtrace.h 2017-11-20 04:09:46.568616084 -0500
+diff --git a/sal/osl/unx/backtrace.h b/sal/osl/unx/backtrace.h
+index 5fafc1c..408c12c 100644
+--- a/sal/osl/unx/backtrace.h
++++ b/sal/osl/unx/backtrace.h
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SAL_OSL_UNX_BACKTRACE_H
#define INCLUDED_SAL_OSL_UNX_BACKTRACE_H
@@ -10,15 +11,29 @@ diff -Naur libreoffice-5.4.2.2.orig/sal/osl/unx/backtrace.h libreoffice-5.4.2.2/
#include <execinfo.h>
-diff -Naur libreoffice-5.4.2.2.orig/sal/osl/unx/signal.cxx libreoffice-5.4.2.2/sal/osl/unx/signal.cxx
---- libreoffice-5.4.2.2.orig/sal/osl/unx/signal.cxx 2017-09-27 14:03:26.000000000 -0400
-+++ libreoffice-5.4.2.2/sal/osl/unx/signal.cxx 2017-11-20 04:03:01.440227794 -0500
+diff --git a/sal/osl/unx/signal.cxx b/sal/osl/unx/signal.cxx
+index f4c9a9c..da6d9cf 100644
+--- a/sal/osl/unx/signal.cxx
++++ b/sal/osl/unx/signal.cxx
@@ -35,7 +35,7 @@
#endif /* MACOSX */
-#ifdef LINUX
-+#if defined (LINUX) && defined (__GLIBC__)
++#if defined(LINUX) && defined(__GLIBC__)
#include <execinfo.h>
#include <link.h>
#define INCLUDE_BACKTRACE
+diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c
+index 1d9a58b..fd648e4 100644
+--- a/sal/osl/unx/backtrace.c
++++ b/sal/osl/unx/backtrace.c
+@@ -282,7 +282,7 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
+ }
+ }
+
+-#elif !defined LINUX
++#elif !defined(__GLIBC__)
+
+ int backtrace( void **buffer, int max_frames )
+ {