From 88c431e251240c0140cdf7fc75d831361d904319 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 6 Aug 2020 13:48:44 +0800 Subject: [PATCH] Fix build with lua 5.4 --- elinks.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/elinks.spec b/elinks.spec index db905c4..79ce7f9 100644 --- a/elinks.spec +++ b/elinks.spec @@ -1,6 +1,6 @@ Name: elinks Version: 0.12 -Release: 1 +Release: 2 Summary: A text-mode Web browser License: GPLv2 URL: http://elinks.or.cz @@ -57,7 +57,7 @@ autoconf autoheader %build -export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE" +export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE -DLUA_COMPAT_5_3" %configure %{?rescue:--without-gpm} \ --enable-256-colors --enable-bittorrent --with-gssapi \ --with-lua --with-openssl --without-gnutls \ @@ -110,5 +110,8 @@ exit 0 %{_mandir}/man5/* %changelog +* Thu Aug 06 2020 lingsheng - 0.12-2 +- Fix build with lua 5.4 + * Wed Nov 13 2019 yangjian - 0.12-1 - Package init -- Gitee