Fix build with lua 5.4
This commit is contained in:
parent
718d68d39f
commit
88c431e251
@ -1,6 +1,6 @@
|
|||||||
Name: elinks
|
Name: elinks
|
||||||
Version: 0.12
|
Version: 0.12
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A text-mode Web browser
|
Summary: A text-mode Web browser
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://elinks.or.cz
|
URL: http://elinks.or.cz
|
||||||
@ -57,7 +57,7 @@ autoconf
|
|||||||
autoheader
|
autoheader
|
||||||
|
|
||||||
%build
|
%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} \
|
%configure %{?rescue:--without-gpm} \
|
||||||
--enable-256-colors --enable-bittorrent --with-gssapi \
|
--enable-256-colors --enable-bittorrent --with-gssapi \
|
||||||
--with-lua --with-openssl --without-gnutls \
|
--with-lua --with-openssl --without-gnutls \
|
||||||
@ -110,5 +110,8 @@ exit 0
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Nov 13 2019 yangjian<yangjian79@huawei.com> - 0.12-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user