Bas Couwenberg pushed to branch master at Debian GIS Project / pgsql-ogr-fdw
Commits: 076a788f by Bas Couwenberg at 2026-04-16T21:10:58+02:00 Add patch to fix FTBFS with GDAL 3.13.0. (closes: #1134128) - - - - - 3 changed files: - debian/changelog - + debian/patches/gdal-3.13.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -5,6 +5,8 @@ pgsql-ogr-fdw (1.1.7-3) UNRELEASED; urgency=medium * Use debrebuild instead of reprotest. * Drop Priority: optional, default since dpkg 1.22.13. * Bump Standards-Version to 4.7.4, changes: priority. + * Add patch to fix FTBFS with GDAL 3.13.0. + (closes: #1134128) -- Bas Couwenberg <[email protected]> Sat, 25 Oct 2025 13:02:18 +0200 ===================================== debian/patches/gdal-3.13.patch ===================================== @@ -0,0 +1,19 @@ +Description: Fix FTBFS with GDAL 3.13.0. + error: implicit declaration of function 'MIN' [-Wimplicit-function-declaration] +Author: Bas Couwenberg <[email protected]> +Forwarded: https://github.com/pramsey/pgsql-ogr-fdw/pull/273 + +--- a/ogr_fdw_info.c ++++ b/ogr_fdw_info.c +@@ -64,7 +64,11 @@ static char identifier[NAMEDATALEN+3]; + const char* + quote_identifier(const char* ident) + { ++#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 13, 0) ++ int len = (int)CPL_MIN(strlen(ident), NAMEDATALEN - 1); ++#else + int len = (int)MIN(strlen(ident), NAMEDATALEN - 1); ++#endif + + if (reserved_word(ident)) + { ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ install.patch hardingflags.patch +gdal-3.13.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/commit/076a788f71dc1689f283ff160ccf3a135141c954 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/commit/076a788f71dc1689f283ff160ccf3a135141c954 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
