summaryrefslogtreecommitdiff
path: root/legacy/libreoffice/fix-execinfo.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-11-25 19:29:48 -0600
committerZach van Rijn <me@zv.io>2022-11-25 20:02:32 -0600
commitd7e5a71711acc59d51324fd29340e00b720ba625 (patch)
treec820d9dcf99598f59fc86e07182de201fb704ab6 /legacy/libreoffice/fix-execinfo.patch
parentb5aeea18b753bd91d3967a23d3e65478733da3cc (diff)
downloadpackages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.gz
packages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.bz2
packages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.xz
packages-d7e5a71711acc59d51324fd29340e00b720ba625.zip
user/libreoffice: Move to legacy/
We have decided to not ship LO for RC3 in its current form; bumping it to the latest version will require significant effort to bump Skia, which will be done post-RC3.
Diffstat (limited to 'legacy/libreoffice/fix-execinfo.patch')
-rw-r--r--legacy/libreoffice/fix-execinfo.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/legacy/libreoffice/fix-execinfo.patch b/legacy/libreoffice/fix-execinfo.patch
new file mode 100644
index 000000000..cb82b7d84
--- /dev/null
+++ b/legacy/libreoffice/fix-execinfo.patch
@@ -0,0 +1,33 @@
+--- libreoffice-6.2.1.2/sal/osl/unx/backtrace.h
++++ libreoffice-6.2.1.2/sal/osl/unx/backtrace.h
+@@ -20,7 +20,7 @@
+ #ifndef INCLUDED_SAL_OSL_UNX_BACKTRACE_H
+ #define INCLUDED_SAL_OSL_UNX_BACKTRACE_H
+
+-#if defined (LINUX)
++#if defined (LINUX) && defined (__GLIBC__)
+
+ #include <execinfo.h>
+
+--- libreoffice-6.2.1.2/sal/osl/unx/signal.cxx
++++ libreoffice-6.2.1.2/sal/osl/unx/signal.cxx
+@@ -35,7 +35,7 @@
+
+ #endif /* MACOSX */
+
+-#ifdef LINUX
++#if defined(LINUX) && defined(__GLIBC__)
+ #include <execinfo.h>
+ #include <link.h>
+ #define INCLUDE_BACKTRACE
+--- libreoffice-6.2.1.2/sal/osl/unx/backtrace.c
++++ libreoffice-6.2.1.2/sal/osl/unx/backtrace.c
+@@ -279,7 +279,7 @@ void backtrace_symbols_fd( void **buffer
+ }
+ }
+
+-#elif !defined LINUX
++#elif !defined(__GLIBC__)
+
+ int backtrace( void **buffer, int max_frames )
+ {