head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.05.09.12.01.07; author gdt; state Exp; branches; next ; commitid 6RGg4kMXcRo7p8FG; desc @@ 1.1 log @geography/qgis: Cherry-pick pending upstream PR to fix build with 3.13.0 A lot of diff noise, but really it's a minor type cleanup. Almost certainly can be dropped with 3.44.10. @ text @$NetBSD$ --- src/core/providers/gdal/qgsgdalprovider.cpp.orig 2026-04-03 12:00:51.000000000 +0000 +++ src/core/providers/gdal/qgsgdalprovider.cpp @@@@ -517,7 +517,7 @@@@ void QgsGdalProvider::loadMetadata() // read ESRI FileGeodatabase/Personal Geodatabase layer metadata // (This branch is only possible on GDAL 3.7+, in earlier releases there was // no raster OpenFileGDB driver) - if ( char **GDALmetadata = GDALGetMetadata( mGdalDataset, "xml:documentation" ) ) + if ( CSLConstList GDALmetadata = GDALGetMetadata( mGdalDataset, "xml:documentation" ) ) { const QString metadata( GDALmetadata[0] ); if ( !metadata.isEmpty() ) @@@@ -565,7 +565,7 @@@@ QString QgsGdalProvider::htmlMetadata() for ( int i = 1; i <= GDALGetRasterCount( dsForMetadata ); ++i ) { GDALRasterBandH gdalBand = GDALGetRasterBand( dsForMetadata, i ); - char **GDALmetadata = GDALGetMetadata( gdalBand, nullptr ); + CSLConstList GDALmetadata = GDALGetMetadata( gdalBand, nullptr ); myMetadata += QStringLiteral( "