You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/liblas/files/liblas-1.8.1-gdal-2.5.0.patch

35 lines
1.0 KiB

From 3a572ff7e684668da62c794b37ccccbc169723de Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 26 Feb 2020 17:45:30 +0100
Subject: [PATCH] Fix build against >=GDAL-2.5.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
src/gt_wkt_srs.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gt_wkt_srs.cpp b/src/gt_wkt_srs.cpp
index 9871aa0..099972d 100755
--- a/src/gt_wkt_srs.cpp
+++ b/src/gt_wkt_srs.cpp
@@ -493,7 +493,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
{
char *pszWKT;
oSRS.morphFromESRI();
- oSRS.FixupOrdering();
if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
return pszWKT;
}
@@ -1094,8 +1093,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
/* ==================================================================== */
char *pszWKT;
- oSRS.FixupOrdering();
-
if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
return pszWKT;
else
--
2.25.1