X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx7.valuehost.ru (mx7.valuehost.ru [217.112.42.214]) by lists.alpinelinux.org (Postfix) with ESMTP id 8E5CA5C6672 for ; Mon, 26 Nov 2018 22:55:22 +0000 (GMT) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx7.valuehost.ru (Postfix) with ESMTP id E921D64019 for ; Tue, 27 Nov 2018 01:55:21 +0300 (MSK) From: alpine-mips-patches Date: Mon, 26 Nov 2018 22:05:43 +0000 Subject: [alpine-aports] [PATCH] main/librevenge: fix build with gcc8 (-Werror too strict) To: alpine-aports@lists.alpinelinux.org Message-Id: <20181126225521.E921D64019@mx7.valuehost.ru> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: gcc8 reveals two -Wparentheses cases (harmless, though fixed in upstream) and one -Wimplicit-fallthrough case (intentional but improperly commented). And since upstream also disabled -Werror by default, just do the same in APKBUILD for easier removal on version upgrade. --- main/librevenge/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/librevenge/APKBUILD b/main/librevenge/APKBUILD index 4b1b0562c8..25ae30c94f 100644 --- a/main/librevenge/APKBUILD +++ b/main/librevenge/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Ter��s pkgname=librevenge pkgver=0.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="Base library for writing document import filters" url="https://sourceforge.net/projects/libwpd/" arch="all" @@ -22,6 +22,7 @@ build() { # http://sourceforge.net/p/libwpd/librevenge/ci/0beee70d1bf52f0d81b60ee8c373e477991fe546/ export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY + CXXFLAGS="$CXXFLAGS -Wno-error=implicit-fallthrough -Wno-error=parentheses" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ -- 2.19.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---