Subject: [alpine-aports] [PATCH] main/json-c0.12: fix build with gcc8

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

---
 main/json-c0.12/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/json-c0.12/APKBUILD b/main/json-c0.12/APKBUILD
index f3cc53b53b..2cf2388cfd 100644
--- a/main/json-c0.12/APKBUILD
+++ b/main/json-c0.12/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=json-c0.12
 pkgver=0.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A JSON implementation in C"
 url="https://github.com/json-c/json-c/wiki"
 arch="all"
@@ -21,7 +21,7 @@ prepare() {
 
 build() {
 	cd "$builddir"
-	export CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable"
+	export CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable -Wno-error=implicit-fallthrough"
 	./configure --prefix=/usr \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
2.19.1

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