summaryrefslogtreecommitdiff
path: root/dev-lua/luv/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-lua/luv/files
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-lua/luv/files')
-rw-r--r--dev-lua/luv/files/luv-1.43.0.0-cmake_lua_version.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lua/luv/files/luv-1.43.0.0-cmake_lua_version.patch b/dev-lua/luv/files/luv-1.43.0.0-cmake_lua_version.patch
new file mode 100644
index 000000000000..d9c324935b91
--- /dev/null
+++ b/dev-lua/luv/files/luv-1.43.0.0-cmake_lua_version.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 78c0345..853ba90 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -140,7 +140,7 @@ else (LUA)
+ if (WIN32)
+ find_package(Lua REQUIRED)
+ else()
+- find_package(Lua)
++ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
+ endif()
+ if(NOT LUA_INCLUDE_DIR)
+ message( FATAL_ERROR "Failed to find Lua headers. Variable `LUA_INCLUDE_DIR' expected to be defined.")