summaryrefslogtreecommitdiff
path: root/science/gnudatalanguage/files/patch-src__gshhs.cpp
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-10-12 08:34:44 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-10-12 08:34:44 +0000
commit609b987811bbeccbe7bc729665e3fa6f6b93e461 (patch)
tree0f84137cffcf8d0def51910388903db0323c492f /science/gnudatalanguage/files/patch-src__gshhs.cpp
parentAdd libproj4, a cartographic projections C library. (diff)
- Upgrade to 0.9.5
- Switch to the options framework.
Notes
Notes: svn path=/head/; revision=370688
Diffstat (limited to 'science/gnudatalanguage/files/patch-src__gshhs.cpp')
-rw-r--r--science/gnudatalanguage/files/patch-src__gshhs.cpp11
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)
+
+