summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}