Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-webkit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt5-webkit/PKGBUILD')
-rw-r--r--extra/qt5-webkit/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/qt5-webkit/PKGBUILD b/extra/qt5-webkit/PKGBUILD
new file mode 100644
index 00000000..b8144a57
--- /dev/null
+++ b/extra/qt5-webkit/PKGBUILD
@@ -0,0 +1,11 @@
+# conversion of a function pointer with farcall attribute
+# -fpermissive as a workaround, see also:
+# https://bugzilla.redhat.com/show_bug.cgi?id=1582954
+# https://src.fedoraproject.org/rpms/qt5-qtwebkit/c/b66267a4c80e45a866e20bfe18bffe6d14635513.patch
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/cmake /cmake -DCMAKE_CXX_FLAGS=-fpermissive /g
+ '
+)"