Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -3,7 +3,7 @@
 # Maintainer: Natanael Copa <ncopa_at_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"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 13 2018 - 21:03:02 UTC