void-packages/srcpkgs/modsecurity/patches/fix-lua-detection.patch

18 lines
567 B
Diff

Source: Arch Linux
Upstream: Unknown
Reason: Fixes lua53 detection
---
--- build/find_lua.m4
+++ build/find_lua.m4
@@ -16,7 +16,7 @@ LUA_CPPFLAGS=""
LUA_LDADD=""
LUA_LDFLAGS=""
LUA_CONFIG=${PKG_CONFIG}
-LUA_PKGNAMES="lua5.1 lua-5.1 lua_5.1 lua-51 lua_51 lua51 lua5 lua lua5.2 lua-5.2 lua_5.2 lua-52 lua_52 lua52 lua5.3 lua-5.3 lua_5.3 lua-53 lua_53 lua53 "
+LUA_PKGNAMES="lua53 lua_53 lua-53 lua_5.3 lua-5.3 lua5.3 lua52 lua_52 lua-52 lua_5.2 lua-5.2 lua5.2 lua lua5 lua51 lua_51 lua-51 lua_5.1 lua-5.1 lua5.1"
LUA_SONAMES="so la sl dll dylib a"
AC_ARG_WITH(