~alpine/aports

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

alpine-mips-patches
Details
Message ID
<20181114001159.3354D622A9@mx12.valuehost.ru>
Sender timestamp
1542142982
DKIM signature
missing
Download raw message
Patch: +2 -1
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 <ncopa@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"
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---