Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 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"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 13 2018 - 21:03:02 UTC