Patches for aports can be sent to this list

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

alpine-mips-patches
Details
Message ID
<20181120225534.35A2948532@mx7.valuehost.ru>
Sender timestamp
1542751857
DKIM signature
missing
Download raw message
Patch: +2 -1
---
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---