A new user interface for you! Read more...

File fix-invalid-return-value.patch of Package keeperrl

diff -Nur old/gen_version.sh new/gen_version.sh
--- old/gen_version.sh	2015-09-28 12:43:56.000000000 +0200
+++ new/gen_version.sh	2016-02-09 01:49:10.588155355 +0100
@@ -1,4 +1,7 @@
 #!/bin/sh
+if [ -f "version.h" ]; then
+    exit 0
+fi
 
 VERSION="`git describe --abbrev=4 --dirty --always`"
 DATE="`date +%F`"
diff -Nur old/task_map.cpp new/task_map.cpp
--- old/task_map.cpp	2015-09-28 12:43:56.000000000 +0200
+++ new/task_map.cpp	2016-02-09 01:14:12.974092780 +0100
@@ -136,7 +136,7 @@
   if (creatureMap.contains(c))
     return !creatureMap.get(c)->isDone();
   else
-    return nullptr;
+    return false;
 }
 
 Task* TaskMap::getTask(const Creature* c) {