From cc8fa466f508643e55a9cb74bcc757efdada8143 Mon Sep 17 00:00:00 2001 From: landry Date: Fri, 8 Mar 2024 12:40:09 +0000 Subject: [PATCH] geo/qgis: fix build with proj 9.4.0 from upstream build failure reported by naddy@ --- ...ore_proj_qgscoordinatereferencesystemutils_cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 geo/qgis/patches/patch-src_core_proj_qgscoordinatereferencesystemutils_cpp diff --git a/geo/qgis/patches/patch-src_core_proj_qgscoordinatereferencesystemutils_cpp b/geo/qgis/patches/patch-src_core_proj_qgscoordinatereferencesystemutils_cpp new file mode 100644 index 00000000000..ffd47a69677 --- /dev/null +++ b/geo/qgis/patches/patch-src_core_proj_qgscoordinatereferencesystemutils_cpp @@ -0,0 +1,15 @@ +Fix build with proj 9.4.0+ +https://github.com/qgis/QGIS/pull/56761 +https://github.com/qgis/QGIS/issues/56756 +Index: src/core/proj/qgscoordinatereferencesystemutils.cpp +--- src/core/proj/qgscoordinatereferencesystemutils.cpp.orig ++++ src/core/proj/qgscoordinatereferencesystemutils.cpp +@@ -348,6 +348,8 @@ QString QgsCoordinateReferenceSystemUtils::translatePr + return QObject::tr( "Miller Oblated Stereographic" ); + if ( projection == QLatin1String( "mill" ) ) + return QObject::tr( "Miller Cylindrical" ); ++ if ( projection == QLatin1String( "mod_krovak" ) ) ++ return QObject::tr( "Modified Krovak" ); + if ( projection == QLatin1String( "moll" ) ) + return QObject::tr( "Mollweide" ); + if ( projection == QLatin1String( "murd1" ) )