!2 Fix build with lua 5.4

Merge pull request !2 from ultra_planet/master
This commit is contained in:
openeuler-ci-bot 2020-08-06 14:17:59 +08:00 committed by Gitee
commit e3f51e4f99

View File

@ -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<lingsheng@huawei.com> - 0.12-2
- Fix build with lua 5.4
* Wed Nov 13 2019 yangjian<yangjian79@huawei.com> - 0.12-1
- Package init