Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt6-base/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt6-base/PKGBUILD')
-rw-r--r--extra/qt6-base/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/qt6-base/PKGBUILD b/extra/qt6-base/PKGBUILD
new file mode 100644
index 00000000..a5dc07b9
--- /dev/null
+++ b/extra/qt6-base/PKGBUILD
@@ -0,0 +1,11 @@
+# add -latomic where needed (i486)
+if [ "$CARCH" = 'i486' ]; then
+ source+=('qtbase-everywhere-src-6.1.0-atomic.patch')
+ sha256sums+=('425e92fef5fe05530a73e80d00d574436de39101c27ffcf4901626598d997e5c')
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /patch.*nostrip.*/ a \ patch -d $_pkgfn -p1 -i "${srcdir}/qtbase-everywhere-src-6.1.0-atomic.patch"
+ '
+ )"
+fi