From 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Dec 2020 13:26:14 +0000 Subject: gentoo resync : 14.12.2020 --- .../xmoto/files/xmoto-0.6.1_cmake_lua_version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 games-sports/xmoto/files/xmoto-0.6.1_cmake_lua_version.patch (limited to 'games-sports/xmoto/files') diff --git a/games-sports/xmoto/files/xmoto-0.6.1_cmake_lua_version.patch b/games-sports/xmoto/files/xmoto-0.6.1_cmake_lua_version.patch new file mode 100644 index 000000000000..53a29161a141 --- /dev/null +++ b/games-sports/xmoto/files/xmoto-0.6.1_cmake_lua_version.patch @@ -0,0 +1,13 @@ +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -40,8 +40,8 @@ + endif() + find_package(PNG REQUIRED) + +-find_package(Lua) +-set(USE_SYSTEM_Lua $,$,$>>) ++find_package(Lua ${LUA_VERSION} EXACT REQUIRED) ++set(USE_SYSTEM_Lua $,$,$>>) + if (NOT LUA_VERSION_STRING VERSION_LESS 5.2 AND LUA_VERSION_STRING VERSION_LESS 5.3) + add_definitions("-DLUA_COMPAT_ALL") + elseif (LUA_VERSION_STRING VERSION_GREATER_EQUAL "5.3") -- cgit v1.2.3