ports/editors/libreoffice/files/powerpc64le-skia.patch.0
Piotr Kubaj 1a3772d84f editors/libreoffice: fix build on powerpc64le
The patch needs to be updated.
2025-02-22 19:17:36 +01:00

21 lines
1.2 KiB
Text

--- modules/skcms/src/skcms_internals.h.orig
+++ modules/skcms/src/skcms_internals.h
@@ -48,6 +48,7 @@ extern "C" {
&& !defined(__arm__) \
&& !defined(__riscv) \
&& !defined(__loongarch__) \
+ && !defined(__powerpc__) \
&& !defined(_WIN32) && !defined(__SYMBIAN32__)
#define SKCMS_HAS_MUSTTAIL 1
#endif
--- src/core/SkRasterPipeline.h.orig 2024-10-10 12:39:49 UTC
+++ src/core/SkRasterPipeline.h
@@ -26,7 +26,7 @@ struct skcms_TransferFunction;
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__) && \
!defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
// [[clang::musttail]] is disabled for the Android version of Skia running on Windows as it
// causes crashes (This is probably related to http://crbug.com/1505442).