mod_security2 fails to compile with lua error
— at Version 1
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -I/opt/local/include/libxml2 -DWITH_LUA -I/opt/local/include -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY -I/opt/local/include -pipe -O2 -arch x86_64 -MT mod_security2_la-msc_release.lo -MD -MP -MF .deps/mod_security2_la-msc_release.Tpo -c msc_release.c -o mod_security2_la-msc_release.o >/dev/null 2>&1
:info:build msc_lua.c:82:57: error: too few arguments to function call, expected 5, have 4
:info:build return lua_load(L, dump_reader, &dumpr, script->name);
lua was recently updated to version 5.2; perhaps mod_security2 needs a patch to become compatible with that version.