Skip to content

Commit de56f79

Browse files
committed
qt6-pdf: don't error on xnnpack incompatible pointer types
1 parent 55f4441 commit de56f79

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Source: https://github.com/gentoo/gentoo/blob/master/dev-qt/qtwebengine/files/qtwebengine-6.8.1-aarch64-xnnpack.patch
2+
3+
Patch status: *seems* fixed in Qt 6.9+
4+
5+
Temporary (lame) workaround for [1] given backporting[2] (which
6+
is believed to be the fix) does not seem trivial. A better fix
7+
is welcome if have one and can test it, but otherwise this can
8+
likely be removed in Qt 6.9.0.
9+
10+
[1] https://bugs.gentoo.org/945843
11+
[2] https://github.com/google/XNNPACK/pull/1789
12+
--- a/src/3rdparty/chromium/third_party/xnnpack/BUILD.gn
13+
+++ b/src/3rdparty/chromium/third_party/xnnpack/BUILD.gn
14+
@@ -27,4 +27,5 @@
15+
16+
+ cflags = [ "-Wno-error=incompatible-pointer-types" ]
17+
if (is_clang || !is_win) {
18+
- cflags = [
19+
+ cflags += [
20+
"-Wno-unused-function",

0 commit comments

Comments
 (0)