Skip to content

Commit

Permalink
[mapnik] fix features input-csv (#33801)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Sep 18, 2023
1 parent fda8c18 commit 23a7cab
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
13 changes: 13 additions & 0 deletions ports/mapnik/missing-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/plugins/input/csv/csv_utils.cpp b/plugins/input/csv/csv_utils.cpp
index 382b1ce..c0256de 100644
--- a/plugins/input/csv/csv_utils.cpp
+++ b/plugins/input/csv/csv_utils.cpp
@@ -40,6 +40,8 @@
#include <cstdio>
#include <algorithm>

+#include <boost/algorithm/string/trim.hpp>
+
namespace csv_utils {
namespace detail {

2 changes: 2 additions & 0 deletions ports/mapnik/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ vcpkg_from_github(
REF 123232ffde565af38afd06fe3e8edd9bfdce93bc
SHA512 b940312688fcece8bb52b8b687fcc60eaac159d4737966eacacbafbde6fbd3245f9acf170d55a664a781908282cb21347bd4b79bd08b8ab2461270ef453b10c5
HEAD_REF master
PATCHES
missing-include.patch
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
7 changes: 5 additions & 2 deletions ports/mapnik/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mapnik",
"version-date": "2023-06-12",
"port-version": 1,
"port-version": 2,
"description": "Mapnik is an open source toolkit for developing mapping applications.",
"homepage": "https://github.com/mapnik/mapnik",
"license": "LGPL-2.1-only",
Expand Down Expand Up @@ -85,7 +85,10 @@
"description": "Grid renderer"
},
"input-csv": {
"description": "CSV input plugin"
"description": "CSV input plugin",
"dependencies": [
"boost-algorithm"
]
},
"input-gdal": {
"description": "GDAL input plugin",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5238,7 +5238,7 @@
},
"mapnik": {
"baseline": "2023-06-12",
"port-version": 1
"port-version": 2
},
"marble": {
"baseline": "22.04.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mapnik.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "cdb516de71b06cb77bb51196e59709278606e32a",
"version-date": "2023-06-12",
"port-version": 2
},
{
"git-tree": "64501290af397067ec972c69113abd28139efdcc",
"version-date": "2023-06-12",
Expand Down

0 comments on commit 23a7cab

Please sign in to comment.