From 8efc1c41f45d0d7c7fe2b9c05128bd00db9c397d Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 10 Jun 2023 14:28:00 +0200 Subject: [PATCH] www/firefox: fix build on powerpc64le failed to perform tail call elimination on a call site marked musttail --- .../patch-gfx_skia_skia_src_core_SkRasterPipeline.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h diff --git a/www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h b/www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h new file mode 100644 index 0000000000000..64e279cf29f03 --- /dev/null +++ b/www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h @@ -0,0 +1,11 @@ +--- gfx/skia/skia/src/core/SkRasterPipeline.h.orig 2023-06-10 14:20:18.155477000 +0200 ++++ gfx/skia/skia/src/core/SkRasterPipeline.h 2023-06-10 14:20:30.760915000 +0200 +@@ -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