diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-05-04 19:35:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-05-04 19:39:00 +0200 |
commit | af45a3136f0899b8fd0b5d7e3aec214f3095f43b (patch) | |
tree | edd1820ffd8ddad09c7c41114e6b8f758c3a161d | |
parent | f131d36feb002b17d793fc3df60131d45210921b (diff) | |
download | tdegames-af45a3136f0899b8fd0b5d7e3aec214f3095f43b.tar.gz tdegames-af45a3136f0899b8fd0b5d7e3aec214f3095f43b.zip |
Fix ksokoban crashes on compressed level files
libz support seems to be broken
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 3462acf56f852847f7f76d3f73193f7f62e23669)
-rw-r--r-- | config.h.cmake | 4 | ||||
-rw-r--r-- | ksokoban/images/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config.h.cmake b/config.h.cmake index f4d5613a..442ddc86 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -19,8 +19,8 @@ #cmakedefine HAVE_USLEEP 1 // ksokoban -// Permanently turned on due to required by tdelibs anyway -#define USE_LIBZ 1 +// FIXME: libz support in ksokoban seems to be broken (2016-05-04, Fat-Zer) +// #define USE_LIBZ 1 // libksirtet #cmakedefine HAVE_SYS_SELECT_H 1 diff --git a/ksokoban/images/CMakeLists.txt b/ksokoban/images/CMakeLists.txt index e58ecba3..c8ec74a9 100644 --- a/ksokoban/images/CMakeLists.txt +++ b/ksokoban/images/CMakeLists.txt @@ -14,7 +14,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) -add_definitions( -DUSE_LIBZ ) +# add_definitions( -DUSE_LIBZ ) # FIXME: that should potentialy break the cross # compilation, If it is possible in |