Package: minetest / 5.6.1+dfsg+~1.9.0mt8+dfsg-2

Metadata

Package Version Patches format
minetest 5.6.1+dfsg+~1.9.0mt8+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
shared_mods.patch | (download)

src/script/lua_api/l_mainmenu.cpp | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 add lookup path for package modules.
Also look under /usr/share/games/minetest for mods, so that minetest-mod-*
packages actually work.
rawlua.patch | (download)

cmake/Modules/FindLua.cmake | 7 3 + 4 - 0 !
1 file changed, 3 insertions(+), 4 deletions(-)

 rawlua

postgresql.patch | (download)

src/CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 postgresql

Fix for not finding PostgreSQL.

fix typos.patch | (download)

irrlicht/source/Irrlicht/CXMeshFileLoader.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix typos
arch support.patch | (download)

irrlicht/include/IrrCompileConfig.h | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 [patch] debian/arch-support

Building on non-linux architectures currently fails with unpatched
irrlicht because irrlicht tries to create Joystick support using
linux-specific headers. However there's infrastructure to disable
Joystick support, we just need to activate that on non-linux
architectures.

Additionally if built on a sparc machine irrlicht assumes wrongly it's
a solaris system. We fix this wrong assumption as our sparc builds are
all on linux.

Finally irrlicht exceeds the size constraights for -fpic requiring to
build with -fPIC. As upstream doesn't do that we need to fix this for
sparc and s390 builds (powerPC?).

Signed-off-by: Christoph Egger <debian@christoph-egger.org>


enable_hardening.patch | (download)

irrlicht/source/Irrlicht/CMakeLists.txt | 5 3 + 2 - 0 !
src/CMakeLists.txt | 5 4 + 1 - 0 !
2 files changed, 7 insertions(+), 3 deletions(-)

 pass cflags and cppflags to build process
 To enable hardening, CFLAGS and CPPFLAGS needs to be used in the build.
override_path_for_autopkgtest.patch | (download)

src/unittest/CMakeLists.txt | 6 3 + 3 - 0 !
src/unittest/test_servermodmanager.cpp | 45 38 + 7 - 0 !
2 files changed, 41 insertions(+), 10 deletions(-)

 fix unit tests to be run standalone
 For the unittests, upstream "bakes in" the build directory path, via
 ${CMAKE_CURRENT_SOURCE_DIR} to locate the resources required by the tests.
 This patch replaces the fixed path by a relative path to the src directory,
 and allows one to override them using environment variables.
 .
 The downside is, that now the unittests have to either specify the environment
 variables or be run from the top level source dir.
 .
 The upside is, that autopkgtest will work without recompiling.
disable TestLua.patch | (download)

src/unittest/test_lua.cpp | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 disabling testluadestructors
 This test uncoveres an issue that can lead to memory leaks on certain
 architures, especially when not compiled with LuaJIT.
 See the referenced issue, linked in Bug below for details.
use system lua++ patch | (download)

CMakeLists.txt | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 use pkgconfig to find c++ variant of lua-5.1
 Upstream compiles lua a c++ as well, and lua is c++ aware if
 done so, so lets use the packaged c++ libraries as well.