freebsd-ports/editors/libreoffice/files/powerpc64le-skia.patch.0
Piotr Kubaj a03cc433ac editors/libreoffice: fix build on powerpc64le
Disable musttail:
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
2023-11-21 14:35:44 +01:00

11 lines
500 B
Text

--- src/core/SkRasterPipeline.h.orig 2023-11-21 02:40:26.293131000 +0000
+++ src/core/SkRasterPipeline.h 2023-11-21 02:40:36.868877000 +0000
@@ -24,7 +24,7 @@
struct SkImageInfo;
struct skcms_TransferFunction;
-#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32)
+#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__powerpc__)
#define SK_HAS_MUSTTAIL 1
#else
#define SK_HAS_MUSTTAIL 0