Skip to content
Commits on Source (3)
otb (6.4.0+dfsg-2) UNRELEASED; urgency=medium
otb (6.4.0+dfsg-2) unstable; urgency=medium
* Add lintian override for spelling-error-in-binary false positive.
* Team upload.
* Update Vcs-* URLs for Salsa.
* Bump Standards-Version to 4.1.4, no changes.
* Add upstream patch to fix FTBFS with GDAL 2.3.0.
(closes: #896837)
-- Bas Couwenberg <sebastic@debian.org> Tue, 06 Mar 2018 09:24:45 +0100
-- Bas Couwenberg <sebastic@debian.org> Fri, 27 Apr 2018 18:06:58 +0200
otb (6.4.0+dfsg-1) unstable; urgency=medium
......
# False positive, string not included in source.
libotb-apps: spelling-error-in-binary * Verticies Vertices
libotb-apps: spelling-error-in-binary * onthe on the
libotb-apps: spelling-error-in-binary * wIH with
Description: fix compilation with GDAL 2.3.0
Author: Guillaume Pasero <guillaume.pasero@c-s.fr>
Origin: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/commit/11d05983c3d475e01263831f9d864916d09852b6
Bug: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1567
Bug-Debian: https://bugs.debian.org/896837
--- a/Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
+++ b/Modules/Adapters/GdalAdapters/include/otbOGRFieldWrapper.txx
@@ -114,7 +114,11 @@ typedef mpl::map
*/
template
< typename T
+#if GDAL_VERSION_NUM >= 2030000
+ , T ( OGRFeature::*ptr_to_function )(int) const
+#else
, T ( OGRFeature::*ptr_to_function )(int)
+#endif
, typename FinalReturnType = T
> class MemberGetterPtr
{
@@ -190,7 +194,11 @@ template
*/
template
< typename T
+#if GDAL_VERSION_NUM >= 2030000
+ , T const* ( OGRFeature::*ptr_to_function )(int, int*) const
+#else
, T const* ( OGRFeature::*ptr_to_function )(int, int*)
+#endif
, typename FinalReturnType = std::vector<T>
> class MemberContainerGetterPtr
{
@@ -292,7 +300,11 @@ template
*/
template
< typename T
+#if GDAL_VERSION_NUM >= 2030000
+ , void ( OGRFeature::*ptr_to_function )(int, int, const T*)
+#else
, void ( OGRFeature::*ptr_to_function )(int, int, T*) // not const-correct
+#endif
, typename ActualParamType = std::vector<T>
> class MemberContainerSetterPtr
{
0001-BUG-1567-fix-compilation-with-GDAL-2.3.0.patch