summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-10 14:28:00 +0200
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-10 14:31:55 +0200
commit8efc1c41f45d0d7c7fe2b9c05128bd00db9c397d (patch)
tree52f3f607c6bad28fb3b3414eb24c2ed457a71f47
parentbiology/biolibc: Update to 0.2.4.3 (diff)
www/firefox: fix build on powerpc64le
failed to perform tail call elimination on a call site marked musttail
-rw-r--r--www/firefox/files/patch-gfx_skia_skia_src_core_SkRasterPipeline.h11
1 files changed, 11 insertions, 0 deletions
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 000000000000..64e279cf29f0
--- /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