Subject: [alpine-aports] [PATCH] community/upx: fix build with gcc8 (-Werror too strict)

From: alpine-mips-patches <[email-masked]>
Date: Tue, 20 Nov 2018 22:10:57 +0000

---
 community/upx/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/upx/APKBUILD b/community/upx/APKBUILD
index c112e2e514..8f52ddeb20 100644
--- a/community/upx/APKBUILD
+++ b/community/upx/APKBUILD
@@ -2,7 +2,7 @@
 # TODO: unbundle lzma-sdk
 pkgname=upx
 pkgver=3.94
-pkgrel=0
+pkgrel=1
 pkgdesc="The Ultimate Packer for eXecutables"
 url="https://upx.github.io"
 arch="all"
@@ -24,6 +24,7 @@ prepare() {
 build() {
 	cd "$builddir"
 
+	CXXFLAGS_WERROR="-Werror -Wno-error=class-memaccess" \
 	make UPX_LZMADIR="$srcdir" all
 }
 
-- 
2.19.1

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