upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / liblas / repos / community-x86_64 / fix-gdal-2.5.patch
blobc7fb075607025df82990c39b61f164b3abc02b0c
1 diff --git a/src/gt_wkt_srs.cpp b/src/gt_wkt_srs.cpp
2 --- a/src/gt_wkt_srs.cpp
3 +++ b/src/gt_wkt_srs.cpp
4 @@ -299,7 +299,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
5 oSRS.SetFromUserInput(pszWKT);
6 oSRS.SetExtension( "PROJCS", "PROJ4",
7 "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs" );
8 - oSRS.FixupOrdering();
9 CPLFree(pszWKT);
10 pszWKT = NULL;
11 oSRS.exportToWkt(&pszWKT);
12 @@ -505,7 +504,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
14 char *pszWKT;
15 oSRS.morphFromESRI();
16 - oSRS.FixupOrdering();
17 if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
18 return pszWKT;
20 @@ -1107,8 +1105,6 @@ char *GTIFGetOGISDefn( GTIF *hGTIF, GTIFDefn * psDefn )
21 /* ==================================================================== */
22 char *pszWKT;
24 - oSRS.FixupOrdering();
26 if( oSRS.exportToWkt( &pszWKT ) == OGRERR_NONE )
27 return pszWKT;
28 else