SHA256
3
0
forked from pool/cmake

Accepting request 819696 from home:mcepl:branches:devel:tools:building

- Add lua54.patch which adds 5.4 among allowed versions of
  Lua interpreter.
  (https://gitlab.kitware.com/cmake/cmake/-/issues/20933)

OBS-URL: https://build.opensuse.org/request/show/819696
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=418
This commit is contained in:
Simon Lees 2020-07-10 13:01:28 +00:00 committed by Git OBS Bridge
parent 195e6deb5b
commit 74efd581ab
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 8 20:06:07 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54.patch which adds 5.4 among allowed versions of
Lua interpreter.
(https://gitlab.kitware.com/cmake/cmake/-/issues/20933)
-------------------------------------------------------------------
Fri Jun 19 08:08:08 UTC 2020 - olaf@aepfle.de

View File

@ -55,6 +55,9 @@ Patch0: cmake-fix-ruby-test.patch
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
Patch1: feature-suse-python-interp-search-order.patch
Patch2: cmake-fix-png-include-dir.patch
# PATCH-FIX-UPSTREAM lua54.patch https://gitlab.kitware.com/cmake/cmake/-/issues/20933 mcepl@suse.com
# Add Lua 5.4 among allowed versions of the Lua interpreter.
Patch3: lua54.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig

11
lua54.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/Modules/FindLua.cmake
+++ b/Modules/FindLua.cmake
@@ -48,7 +48,7 @@ unset(_lua_append_versions)
# this is a function only to have all the variables inside go away automatically
function(_lua_get_versions)
- set(LUA_VERSIONS5 5.3 5.2 5.1 5.0)
+ set(LUA_VERSIONS5 5.4 5.3 5.2 5.1 5.0)
if (Lua_FIND_VERSION_EXACT)
if (Lua_FIND_VERSION_COUNT GREATER 1)