sci-geosciences/osm2pgsql: Update lua version patch for live ebuild

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
Sven Wegener
2022-08-19 19:36:01 +02:00
parent 66e0b8e183
commit e74503ae2d
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,7 +193,7 @@
add_definitions(-DHAVE_LUAJIT=1)
else()
message(STATUS "Building with Lua support")
- find_package(Lua REQUIRED)
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
include_directories(SYSTEM ${LUA_INCLUDE_DIR})
endif()
add_definitions(-DHAVE_LUA=1)

View File

@@ -38,7 +38,7 @@ RDEPEND="${COMMON_DEPEND}
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.0-cmake_lua_version.patch
"${FILESDIR}"/${PN}-1.7.0-cmake_lua_version.patch
)
src_configure() {