summaryrefslogtreecommitdiff
path: root/updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch')
-rw-r--r--updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch b/updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch
index 2bf1f47..91c3d63 100644
--- a/updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch
+++ b/updater-ng/patches/0002-configure.ac-check-for-plain-Lua-first-instead-of-lu.patch
@@ -1,4 +1,4 @@
-From 2fd732bc6ed35761142c96122912febc41b021d2 Mon Sep 17 00:00:00 2001
+From 6b57800e3b8836eefb39cb9f315faf6b35a8df3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Sun, 31 May 2020 11:31:46 +0200
Subject: [PATCH 2/2] configure.ac: check for plain Lua first instead of lua5.1
@@ -11,7 +11,7 @@ versions.
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
-index aec813cb..2cc89aeb 100644
+index aec813cb..7421534a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,8 @@ AS_IF([test -n "$with_embed_busybox"],
@@ -19,7 +19,7 @@ index aec813cb..2cc89aeb 100644
])
-PKG_CHECK_MODULES([LUA], [lua5.1])
-+PKG_CHECK_MODULES([LUA], [lua = 5.1],,
++PKG_CHECK_MODULES([LUA], [lua >= 5.1 lua < 5.2],,
+ [PKG_CHECK_MODULES([LUA], [lua5.1])])
PKG_CHECK_MODULES([LIBEVENT], [libevent >= 2.0])
PKG_CHECK_MODULES([LIBARCHIVE], [libarchive])