Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/mdadm/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-07-19 12:07:42 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-07-19 12:07:42 +0200
commit541f7dbe2fba4e9ad87701c1169f17525c20ae21 (patch)
tree4e2fd915cc3028df249ec35481afa9caadfd00af /core/mdadm/PKGBUILD
parent216e914ba0579088c135899c7435585bdf446320 (diff)
core/mdadm: removed source and checksum patch, is now upstream, temprary no -Werror patching
Diffstat (limited to 'core/mdadm/PKGBUILD')
-rw-r--r--core/mdadm/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/mdadm/PKGBUILD b/core/mdadm/PKGBUILD
index 375b5b01..04ff44cd 100644
--- a/core/mdadm/PKGBUILD
+++ b/core/mdadm/PKGBUILD
@@ -1,4 +1,6 @@
-# changed location on kernel.org
-source[0]=https://www.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${pkgver}.tar.gz
-source[1]=https://www.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${pkgver}.tar.sign
-md5sums[0]=b93f9c61f3c36c76c4e2f53251772e13
+# temporarily remove -Werror (and hope misalignment warning are not that serious)
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ sed -i 's/-Werror//g' Makefile
+}