Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 8723269377104f6ad7c452b48f81074b > files > 2

lsyncd-2.3.1-2.mga9.src.rpm

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2022-11-17 02:22:35.000000000 +0100
+++ b/CMakeLists.txt	2022-11-22 08:03:05.523386640 +0100
@@ -11,6 +11,9 @@ string(REGEX REPLACE "lsyncd_version = \
 set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/" )
 
 
+# Enable Lua 5.3 compatibility macros
+add_definitions(-DLUA_COMPAT_5_3)
+
 # finding Lua
 find_package( Lua REQUIRED )
 include_directories ( ${LUA_INCLUDE_DIR} )