Browse Source

Fix ksokoban crashes on compressed level files

libz support seems to be broken

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
pull/1/head
Alexander Golubev 4 years ago
committed by Slávek Banko
parent
commit
3462acf56f
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      config.h.cmake
  2. +1
    -1
      ksokoban/images/CMakeLists.txt

+ 2
- 2
config.h.cmake View File

@@ -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


+ 1
- 1
ksokoban/images/CMakeLists.txt View File

@@ -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


Loading…
Cancel
Save