diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-10-14 05:38:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 14:38:05 -0700 |
| commit | eaa2e3db0fa6162112fa76e87ac44a67db7225c8 (patch) | |
| tree | 0e30601250da795ad578da1ec5bc52d2c3e4b93d /ports/pdal | |
| parent | c633ef256fc2702090cd27925d0eeb5075beb844 (diff) | |
| download | vcpkg-eaa2e3db0fa6162112fa76e87ac44a67db7225c8.tar.gz vcpkg-eaa2e3db0fa6162112fa76e87ac44a67db7225c8.zip | |
[libgeotiff] Upgrade to version 1.6.0 (#10408)
Diffstat (limited to 'ports/pdal')
| -rw-r--r-- | ports/pdal/CONTROL | 3 | ||||
| -rw-r--r-- | ports/pdal/fix-CPL_DLL.patch | 15 | ||||
| -rw-r--r-- | ports/pdal/portfile.cmake | 1 |
3 files changed, 18 insertions, 1 deletions
diff --git a/ports/pdal/CONTROL b/ports/pdal/CONTROL index d105decf5..dfaaf0daf 100644 --- a/ports/pdal/CONTROL +++ b/ports/pdal/CONTROL @@ -1,4 +1,5 @@ Source: pdal
-Version: 1.7.1-8
+Version: 1.7.1
+Port-Version: 9
Description: PDAL - Point Data Abstraction Library is a library for manipulating point cloud data.
Build-Depends: gdal, geos, jsoncpp, libgeotiff, laszip, boost-system, boost-filesystem
diff --git a/ports/pdal/fix-CPL_DLL.patch b/ports/pdal/fix-CPL_DLL.patch new file mode 100644 index 000000000..ef7c26472 --- /dev/null +++ b/ports/pdal/fix-CPL_DLL.patch @@ -0,0 +1,15 @@ +diff --git a/io/GeotiffSupport.cpp b/io/GeotiffSupport.cpp +index 7b75818..909992d 100644 +--- a/io/GeotiffSupport.cpp ++++ b/io/GeotiffSupport.cpp +@@ -43,8 +43,8 @@ PDAL_C_START + + // These functions are available from GDAL, but they + // aren't exported. +-char CPL_DLL * GTIFGetOGISDefn(GTIF*, GTIFDefn*); +-int CPL_DLL GTIFSetFromOGISDefn(GTIF*, const char*); ++char GTIF_DLL * GTIFGetOGISDefn(GTIF*, GTIFDefn*); ++int GTIF_DLL GTIFSetFromOGISDefn(GTIF*, const char*); + + PDAL_C_END + diff --git a/ports/pdal/portfile.cmake b/ports/pdal/portfile.cmake index ef792f3a0..44654a4eb 100644 --- a/ports/pdal/portfile.cmake +++ b/ports/pdal/portfile.cmake @@ -16,6 +16,7 @@ vcpkg_extract_source_archive_ex( PDALConfig.patch fix-dependency.patch libpq.patch + fix-CPL_DLL.patch ) file(REMOVE "${SOURCE_PATH}/pdal/gitsha.cpp") |
