diff options
Diffstat (limited to 'science/gnudatalanguage/files/patch-src__gshhs.cpp')
-rw-r--r-- | science/gnudatalanguage/files/patch-src__gshhs.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/gnudatalanguage/files/patch-src__gshhs.cpp b/science/gnudatalanguage/files/patch-src__gshhs.cpp new file mode 100644 index 000000000000..8ad12a6278be --- /dev/null +++ b/science/gnudatalanguage/files/patch-src__gshhs.cpp @@ -0,0 +1,11 @@ +--- src/gshhs.cpp.orig 2014-10-11 19:11:00.000000000 +0200 ++++ src/gshhs.cpp 2014-10-11 19:37:17.000000000 +0200 +@@ -175,7 +175,7 @@ + double ss = h.south * GSHHS_SCL; + double nn = h.north * GSHHS_SCL; + char source = (src == 1) ? 'W' : 'C'; // Either WVS or CIA (WDBII) pedigree +- if ( river ) source = tolower( (int) source ); // Lower case c means river-lake ++ if ( river ) source = std::tolower( (int) source ); // Lower case c means river-lake + int line = (h.area) ? 0 : 1; // Either Polygon (0) or Line (1) (if no area) + + |