Mail archive
alpine-aports

[alpine-aports] [PATCH] main/lua-stringy: 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/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
_at_@ -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"
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 13 2018 - 21:03:02 UTC