aboutsummaryrefslogtreecommitdiff
path: root/games/xptools/files/patch-src_Utils_GISUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/xptools/files/patch-src_Utils_GISUtils.cpp')
-rw-r--r--games/xptools/files/patch-src_Utils_GISUtils.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/xptools/files/patch-src_Utils_GISUtils.cpp b/games/xptools/files/patch-src_Utils_GISUtils.cpp
new file mode 100644
index 000000000000..8f83c299ac28
--- /dev/null
+++ b/games/xptools/files/patch-src_Utils_GISUtils.cpp
@@ -0,0 +1,15 @@
+--- src/Utils/GISUtils.cpp.orig 2017-11-07 02:12:22 UTC
++++ src/Utils/GISUtils.cpp
+@@ -40,12 +40,7 @@
+ // set to 1 to save geotiff inside geojp2 to disk
+ #define DUMP_GTIF 0
+
+-#if defined(IBM)
+- #include <libxtiff/xtiffio.h>
+- #include "GUI_Unicode.h"
+-#else
+ #include <xtiffio.h>
+-#endif
+ void make_cache_file_path(const char * cache_base, int west, int south, const char * cache_name, char path[1024])
+ {
+ sprintf(path, "%s%s%+03d%+04d%s%+03d%+04d.%s.txt", cache_base, DIR_STR, latlon_bucket (south), latlon_bucket (west), DIR_STR, (int) south, (int) west, cache_name);