Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation against Lua 5.2. #24

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion liblmt/lmtconf.c
Expand Up @@ -198,7 +198,7 @@ lmt_conf_init (int vopt, char *path)
path = PATH_LMTCONF; /* missing default config file is not fatal */
}
if (path) {
L = lua_open ();
L = luaL_newstate();
luaL_openlibs(L);

if (luaL_loadfile (L, path) || lua_pcall (L, 0, 0, 0)) {
Expand Down
2 changes: 1 addition & 1 deletion lmt.spec.in
Expand Up @@ -14,7 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: mysql, mysql-devel
BuildRequires: cerebro >= 1.3-5
BuildRequires: ncurses-devel
BuildRequires: lua-devel
BuildRequires: lua-devel >= 5.1
#%define __spec_install_post /usr/lib/rpm/brp-compress || :
%define debug_package %{nil}

Expand Down