Control: tags 990923 + patch Control: tags 990923 + pending Dear maintainer,
I've prepared an NMU for minetest (versioned as 5.3.0+repack-2.1) and uploaded it to DELAYED/1. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru minetest-5.3.0+repack/debian/changelog minetest-5.3.0+repack/debian/changelog --- minetest-5.3.0+repack/debian/changelog 2021-01-31 15:41:26.000000000 +0200 +++ minetest-5.3.0+repack/debian/changelog 2021-07-15 18:55:57.000000000 +0300 @@ -1,3 +1,11 @@ +minetest (5.3.0+repack-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for errors caused by missing param2 + in falling.lua, thanks to Craig Small. (Closes: #990923) + + -- Adrian Bunk <b...@debian.org> Thu, 15 Jul 2021 18:55:57 +0300 + minetest (5.3.0+repack-2) unstable; urgency=medium * Team upload. diff -Nru minetest-5.3.0+repack/debian/patches/0001-Falling-Fix-error-caused-by-missing-param2.patch minetest-5.3.0+repack/debian/patches/0001-Falling-Fix-error-caused-by-missing-param2.patch --- minetest-5.3.0+repack/debian/patches/0001-Falling-Fix-error-caused-by-missing-param2.patch 1970-01-01 02:00:00.000000000 +0200 +++ minetest-5.3.0+repack/debian/patches/0001-Falling-Fix-error-caused-by-missing-param2.patch 2021-07-15 18:55:34.000000000 +0300 @@ -0,0 +1,26 @@ +From aba8c3753162320c7cc8a66913ad82f4f1fd0d8b Mon Sep 17 00:00:00 2001 +From: SmallJoker <mk...@ymail.com> +Date: Thu, 30 Jul 2020 19:03:48 +0200 +Subject: Falling: Fix error caused by missing param2 + +Falling nodes that were spawned prior the recent falling node changes did not require param2. +Default to param2 = 0 when none is found in the node data. +--- + builtin/game/falling.lua | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/builtin/game/falling.lua b/builtin/game/falling.lua +index 714506a5f..4bfcca9e7 100644 +--- a/builtin/game/falling.lua ++++ b/builtin/game/falling.lua +@@ -52,6 +52,7 @@ core.register_entity(":__builtin:falling_node", { + floats = false, + + set_node = function(self, node, meta) ++ node.param2 = node.param2 or 0 + self.node = node + meta = meta or {} + if type(meta.to_table) == "function" then +-- +2.20.1 + diff -Nru minetest-5.3.0+repack/debian/patches/series minetest-5.3.0+repack/debian/patches/series --- minetest-5.3.0+repack/debian/patches/series 2021-01-31 11:43:36.000000000 +0200 +++ minetest-5.3.0+repack/debian/patches/series 2021-07-15 18:55:53.000000000 +0300 @@ -2,3 +2,4 @@ shared_mods.patch rawlua.patch postgresql.patch +0001-Falling-Fix-error-caused-by-missing-param2.patch