Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-09 17:05:54 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-09 17:05:54 +0000
commit18ee399666b4393b5c64c932586c778b3c730cb2 (patch)
tree187e3f644d66f72b6d763a314324fa247a2676e9 /extra/mariadb/PKGBUILD
parent414e557908c4f9c0c2b8b76183191369b13974f8 (diff)
extra/mariadb: added i486 specific patches
Diffstat (limited to 'extra/mariadb/PKGBUILD')
-rw-r--r--extra/mariadb/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD
new file mode 100644
index 00000000..f92fe1d3
--- /dev/null
+++ b/extra/mariadb/PKGBUILD
@@ -0,0 +1,21 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no java
+ eval "$(
+ declare -f build | \
+ sed '
+ s/cmake /cmake -DCONNECT_WITH_JDBC=0 /
+ '
+ )"
+
+ # add -latomic where needed
+ # e.g.TARGET_LINK_LIBRARIES(mariabackup sql crc atomic)
+ source+=('mariadb-10.1.32-atomic.patch')
+ sha256sums+=('194e43ca5468d4f4634f45eed6aaf08865c2d351fcc500696d4dc578fe94902e')
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /patch -Np1.*openssl-1-1-0.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.1.32-atomic.patch"
+ '
+ )"
+fi