Mail archive
alpine-aports

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

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