[alpine-aports] [PATCH] main/lua-stringy: fix build with gcc8

alpine-mips-patches
Details
Message ID
<20181114001200.364ED622AE@mx12.valuehost.ru>
Sender timestamp
1542142982
DKIM signature
missing
Download raw message
Patch: +2 -1
Another GNU-style inline case.
---
 main/lua-stringy/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/lua-stringy/APKBUILD b/main/lua-stringy/APKBUILD
index 04a533f929..f189a49236 100644
--- a/main/lua-stringy/APKBUILD
+++ b/main/lua-stringy/APKBUILD
@@ -3,7 +3,7 @@
 pkgname=lua-stringy
 pkgver=0.5.0
 _pkgver=${pkgver%.*}-${pkgver##*.}
-pkgrel=0
+pkgrel=1
 pkgdesc="Lua string utility library"
 url="https://github.com/brentp/lua-stringy/"
 arch="all"
@@ -39,6 +39,7 @@ prepare() {
 build() {
 	local lver; for lver in $_luaversions; do
 		msg "Building for Lua $lver..."
+		CFLAGS="$CFLAGS -std=gnu89" \
 		make -C "$builddir-$lver" \
 			CC="${CC:-gcc}" \
 			LUA_PC="lua$lver" \
-- 
2.19.1




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---