summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-12-04 04:25:26 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-12-04 07:17:20 -0500
commit591fac6a0d58a9b4a12af5e1ee9ff91231701cce (patch)
treeab23a215020001bf395bca5ff88a18ee4f009410 /dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch
parent59e58db16814bf52cc991a85d8c61d327914a6ff (diff)
downloadgentoo-591fac6a0d58a9b4a12af5e1ee9ff91231701cce.tar.gz
gentoo-591fac6a0d58a9b4a12af5e1ee9ff91231701cce.tar.bz2
gentoo-591fac6a0d58a9b4a12af5e1ee9ff91231701cce.zip
dev-qt/qtwebengine: do xnnpack build workaround for arm64 (qt6)
Closes: https://bugs.gentoo.org/945843 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch b/dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch
new file mode 100644
index 000000000000..033934a2dc5b
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch
@@ -0,0 +1,18 @@
+Patch status: *seems* fixed in Qt 6.9+
+
+Temporary (lame) workaround for [1] given backporting[2] (which
+is believed to be the fix) does not seem trivial. A better fix
+is welcome if have one and can test it, but otherwise this can
+likely be removed in Qt 6.9.0.
+
+[1] https://bugs.gentoo.org/945843
+[2] https://github.com/google/XNNPACK/pull/1789
+--- a/src/3rdparty/chromium/third_party/xnnpack/BUILD.gn
++++ b/src/3rdparty/chromium/third_party/xnnpack/BUILD.gn
+@@ -27,4 +27,5 @@
+
++ cflags = [ "-Wno-error=incompatible-pointer-types" ]
+ if (is_clang || !is_win) {
+- cflags = [
++ cflags += [
+ "-Wno-unused-function",