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

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

Another GNU-style inline case.
---
 main/bwm-ng/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD
index bcaf7494a3..5a6cd11fc0 100644
--- a/main/bwm-ng/APKBUILD
+++ b/main/bwm-ng/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=bwm-ng
 pkgver=0.6.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A small and simple console-based live bandwidth monitor"
 url="http://www.gropp.org/"
 arch="all"
@@ -23,6 +23,7 @@ prepare() {
 
 build() {
 	cd "$_builddir"
+	CFLAGS="$CFLAGS -std=gnu89" \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
2.19.1

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