aboutsummaryrefslogtreecommitdiff
path: root/ports/pdal/fix-CPL_DLL.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/pdal/fix-CPL_DLL.patch')
-rw-r--r--ports/pdal/fix-CPL_DLL.patch15
1 files changed, 15 insertions, 0 deletions
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
+