mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
Hello, people. Thanks to patch I found in void-packages repository (fix-i686-musl.patch) I was able to build seamonkey on alpine-edge on x86. Also I am not sure if you can build seamonkey on architectures other than x86 or x86_64, so I left 'arch="x86"'. With best regards, Andrew.
20 lines
761 B
Diff
20 lines
761 B
Diff
--- a/mozilla/mozglue/misc/StackWalk.cpp 2017-04-11 04:13:21.000000000 +0200
|
|
+++ b/mozilla/mozglue/misc/StackWalk.cpp 2017-11-29 15:23:07.218649970 +0100
|
|
@@ -41,7 +41,7 @@
|
|
#define MOZ_STACKWALK_SUPPORTS_MACOSX 0
|
|
#endif
|
|
|
|
-#if (defined(linux) && \
|
|
+#if defined(__GLIBC__) && (defined(linux) && \
|
|
((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \
|
|
defined(HAVE__UNWIND_BACKTRACE)))
|
|
#define MOZ_STACKWALK_SUPPORTS_LINUX 1
|
|
@@ -911,7 +911,7 @@
|
|
}
|
|
|
|
// {x86, ppc} x {Linux, Mac} stackwalking code.
|
|
-#if ((defined(__i386) || defined(PPC) || defined(__ppc__)) && \
|
|
+#if defined(__GLIBC__) && ((defined(__i386) || defined(PPC) || defined(__ppc__)) && \
|
|
(MOZ_STACKWALK_SUPPORTS_MACOSX || MOZ_STACKWALK_SUPPORTS_LINUX))
|
|
|
|
MFBT_API bool
|