summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2022-08-19 19:36:01 +0200
committerSven Wegener <swegener@gentoo.org>2022-08-19 19:42:41 +0200
commite74503ae2db7a39c8e8a1c6cbccf922ae663ff5e (patch)
tree6cc1cee0456728266173c37a84c091814d1df6de /sci-geosciences/osm2pgsql/files
parentnet-irc/irssi: Remove explicit docs installation (diff)
downloadgentoo-e74503ae2db7a39c8e8a1c6cbccf922ae663ff5e.tar.gz
gentoo-e74503ae2db7a39c8e8a1c6cbccf922ae663ff5e.tar.bz2
gentoo-e74503ae2db7a39c8e8a1c6cbccf922ae663ff5e.zip
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>
Diffstat (limited to 'sci-geosciences/osm2pgsql/files')
-rw-r--r--sci-geosciences/osm2pgsql/files/osm2pgsql-1.7.0-cmake_lua_version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-geosciences/osm2pgsql/files/osm2pgsql-1.7.0-cmake_lua_version.patch b/sci-geosciences/osm2pgsql/files/osm2pgsql-1.7.0-cmake_lua_version.patch
new file mode 100644
index 000000000000..054624d02d62
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/files/osm2pgsql-1.7.0-cmake_lua_version.patch
@@ -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)