Subject: [alpine-aports] [PATCH] main/mdadm: fix build with gcc8

From: alpine-mips-patches <[email-masked]>
Date: Tue, 13 Nov 2018 21:03:02 +0000

Note there is no typo in "CXFLAGS" spelling.
---
 main/mdadm/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/mdadm/APKBUILD b/main/mdadm/APKBUILD
index e4b63d4b52..cce2f6ca71 100644
--- a/main/mdadm/APKBUILD
+++ b/main/mdadm/APKBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=mdadm
 pkgver=4.0
-pkgrel=0
+pkgrel=1
 pkgdesc="a tool for managing Linux Software RAID arrays"
 url="http://neil.brown.name/blog/mdadm"
 arch="all"
@@ -20,6 +20,7 @@ builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
 	cd "$builddir"
+	CXFLAGS="-Wno-error=implicit-fallthrough" \
 	make || return 1
 }
 
-- 
2.19.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---