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

alpine-mips-patches
Details
Message ID
<20181114001200.5E3D0622AF@mx12.valuehost.ru>
Sender timestamp
1542142982
DKIM signature
missing
Download raw message
Patch: +2 -1
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 <ncopa@alpinelinux.org>
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---