aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-12 21:16:32 +0000
committeralice <alice@ayaya.dev>2022-08-12 22:13:10 +0000
commit49a776792cec6e1a5720c434aa44abc7e4f0a716 (patch)
tree3015c092ae1d09d244deca9f216a6f4a433e2005
parent06a66d5587facc9c5b0f8d686c7e7c65a348ffd9 (diff)
downloadaports-49a776792cec6e1a5720c434aa44abc7e4f0a716.tar.gz
aports-49a776792cec6e1a5720c434aa44abc7e4f0a716.tar.bz2
aports-49a776792cec6e1a5720c434aa44abc7e4f0a716.tar.xz
testing/qt6-qtwebengine: fix aarch64 again
-rw-r--r--testing/qt6-qtwebengine/APKBUILD2
-rw-r--r--testing/qt6-qtwebengine/aarch64-skia.patch20
2 files changed, 22 insertions, 0 deletions
diff --git a/testing/qt6-qtwebengine/APKBUILD b/testing/qt6-qtwebengine/APKBUILD
index dc6e39b837..9405da5796 100644
--- a/testing/qt6-qtwebengine/APKBUILD
+++ b/testing/qt6-qtwebengine/APKBUILD
@@ -71,6 +71,7 @@ source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qt
default-pthread-stacksize.patch
fix-narrowing-cast.patch
chromium-use-alpine-target.patch
+ aarch64-skia.patch
"
build() {
@@ -126,4 +127,5 @@ f7380e97018a93c786a95650646d135ceb326ecdb615ffdcb1ed004f1c2ca2e1da1a5b0729969b7f
f4cb20796922b6e26433a18ab2ba5dd8750e8bbfb479e9416a362073c9e6a3ac12ee9e9868f6c9335b374b9d8ca8bed2e322e5ac3fe694a6ec6ddce8bd9b801b default-pthread-stacksize.patch
2bf4b7e66edc7cd3afddbcdfc9501d55eba4b6d11bbbc75f4107042f909a1fd5b5166e9274d2da53241f2c1cfde7472dfc640af23e3a3d9c2d01cf72ae5cfffd fix-narrowing-cast.patch
782a9f2ff97fe9936563b6ddbf65866b6863248defe8b6800cd5bb45912e35ab124bf3c2ca79566f3c120dd8d229309c8a1a4d8b4f53133feae2274bb8694b33 chromium-use-alpine-target.patch
+3b97486b0873a17b35c2187557b320069462e0d08ba88af4af7878628dbeeecfe2ab5bcfc7640c8c87c4c30dbac611d4170c25201c4e7971fbd58eed31e4d756 aarch64-skia.patch
"
diff --git a/testing/qt6-qtwebengine/aarch64-skia.patch b/testing/qt6-qtwebengine/aarch64-skia.patch
new file mode 100644
index 0000000000..f1b9aa3064
--- /dev/null
+++ b/testing/qt6-qtwebengine/aarch64-skia.patch
@@ -0,0 +1,20 @@
+--- a/src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
++++ b/src/3rdparty/chromium/third_party/skia/src/opts/SkRasterPipeline_opts.h
+@@ -976,7 +976,7 @@
+ }
+
+ SI F from_half(U16 h) {
+-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
++#if 0 && defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
+ && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
+ #if defined(SK_BUILD_FOR_MAC)
+ return vcvt_f32_f16(h);
+@@ -1002,7 +1002,7 @@
+ }
+
+ SI U16 to_half(F f) {
+-#if defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
++#if 0 && defined(JUMPER_IS_NEON) && defined(SK_CPU_ARM64) \
+ && !defined(SK_BUILD_FOR_GOOGLE3) // Temporary workaround for some Google3 builds.
+ #if defined(SK_BUILD_FOR_MAC)
+ return vcvt_f16_f32(f);