Patches for aports can be sent to this list

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

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