File lsyncd-lua-5_3.patch of Package lsyncd
Index: lsyncd-2.1.5/configure.ac
===================================================================
--- lsyncd-2.1.5.orig/configure.ac
+++ lsyncd-2.1.5/configure.ac
@@ -78,7 +78,7 @@ CPPFLAGS="${CPPFLAGS} ${LUA_CFLAGS}"
AC_MSG_CHECKING([whether Lua library was compiled with compat support])
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([
- #define LUA_COMPAT_ALL
+ #define LUA_COMPAT_5_1
#include <lauxlib.h>
],[luaL_register(0,0,0);])],
[lua_compat_support=yes],
Index: lsyncd-2.1.5/lsyncd.h
===================================================================
--- lsyncd-2.1.5.orig/lsyncd.h
+++ lsyncd-2.1.5/lsyncd.h
@@ -16,7 +16,7 @@
#define _XOPEN_SOURCE 700
#define _DARWIN_C_SOURCE 1
-#define LUA_COMPAT_ALL
+#define LUA_COMPAT_5_1
// includes needed for headerfile
#include "config.h"