Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-14 09:36:22 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-14 09:36:22 +0200
commitaa9038ea4d47c63ae5331f4d66be1c5e4b9a337b (patch)
tree1d7a270557a3a90ef37ad293370ae3833bed6e43 /extra
parent87a41c8b45101918b6c2178da7bcaf1085981a7f (diff)
extra/qt5-webkit: added -fpermissive (seen @Fedora)
Diffstat (limited to 'extra')
-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
+ '
+)"