Subject: [alpine-aports] [PATCH] main/squashfs-tools: fix build with gcc8

From: alpine-mips-patches <[email-masked]>
Date: Tue, 13 Nov 2018 21:03:02 +0000

Another GNU-style inline case.
---
 main/squashfs-tools/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/squashfs-tools/APKBUILD b/main/squashfs-tools/APKBUILD
index 119d2d11d8..e0db9f2e61 100644
--- a/main/squashfs-tools/APKBUILD
+++ b/main/squashfs-tools/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=squashfs-tools
 pkgver=4.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
 url="http://squashfs.sourceforge.net"
 arch="all"
@@ -28,6 +28,7 @@ prepare() {
 
 build() {
 	cd "$_builddir"
+	CFLAGS="$CFLAGS -std=gnu89" \
 	make XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
 }
 
-- 
2.19.1

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