Your message dated Sat, 23 May 2026 06:19:50 +0000
with message-id <[email protected]>
and subject line Bug#1134128: fixed in pgsql-ogr-fdw 1.1.7-3
has caused the Debian Bug report #1134128,
regarding pgsql-ogr-fdw: FTBFS with GDAL 3.13.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1134128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134128
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pgsql-ogr-fdw
Version: 1.1.7-2
Severity: important
Tags: upstream ftbfs patch
User: [email protected]
Usertags: gdal-3.13
Dear Maintainer,
Your package FTBFS with GDAL 3.13.0:
error: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
The attached patch fixes the issue.
Kind Regards,
Bas
diff -Nru pgsql-ogr-fdw-1.1.7/debian/patches/gdal-3.13.patch
pgsql-ogr-fdw-1.1.7/debian/patches/gdal-3.13.patch
--- pgsql-ogr-fdw-1.1.7/debian/patches/gdal-3.13.patch 1970-01-01
01:00:00.000000000 +0100
+++ pgsql-ogr-fdw-1.1.7/debian/patches/gdal-3.13.patch 2026-04-16
20:58:10.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with GDAL 3.13.0.
+ error: implicit declaration of function 'MIN'
[-Wimplicit-function-declaration]
+Author: Bas Couwenberg <[email protected]>
+
+--- 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))
+ {
diff -Nru pgsql-ogr-fdw-1.1.7/debian/patches/series
pgsql-ogr-fdw-1.1.7/debian/patches/series
--- pgsql-ogr-fdw-1.1.7/debian/patches/series 2022-07-30 06:13:20.000000000
+0200
+++ pgsql-ogr-fdw-1.1.7/debian/patches/series 2026-04-16 20:58:10.000000000
+0200
@@ -1,2 +1,3 @@
install.patch
hardingflags.patch
+gdal-3.13.patch
--- End Message ---
--- Begin Message ---
Source: pgsql-ogr-fdw
Source-Version: 1.1.7-3
Done: Bas Couwenberg <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pgsql-ogr-fdw, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated pgsql-ogr-fdw package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 23 May 2026 07:34:54 +0200
Source: pgsql-ogr-fdw
Architecture: source
Version: 1.1.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1134128
Changes:
pgsql-ogr-fdw (1.1.7-3) unstable; urgency=medium
.
* Team upload.
* Use test-build-validate-cleanup instead of test-build-twice.
* 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)
Checksums-Sha1:
f66d294fd1c1718b6600a1be88f5bf6eddeecc7c 2188 pgsql-ogr-fdw_1.1.7-3.dsc
7e31777f9f45b334a13f13526d5a3d303e0f8363 6196
pgsql-ogr-fdw_1.1.7-3.debian.tar.xz
76fcd33a26f9648259718dfb9dab7a364afe680a 17066
pgsql-ogr-fdw_1.1.7-3_amd64.buildinfo
Checksums-Sha256:
e7ad515beabb292a5df62902b1bde26523c61ada0a6d545baec925340122ee17 2188
pgsql-ogr-fdw_1.1.7-3.dsc
e00f5e1fc6f81ee49ba58bf38d4faae4697d8476762043df775e08ce3c0caa67 6196
pgsql-ogr-fdw_1.1.7-3.debian.tar.xz
c402c99415eb93c78f2ac7dfb5f8730ce25b683da642866b3bc0cfdacd2defdb 17066
pgsql-ogr-fdw_1.1.7-3_amd64.buildinfo
Files:
385c2e959400be3d57a2ebd8b46b40ee 2188 database optional
pgsql-ogr-fdw_1.1.7-3.dsc
502f8b6ba9d9b6ba5ea3b7531bc15e49 6196 database optional
pgsql-ogr-fdw_1.1.7-3.debian.tar.xz
9c7a2947f61ce61aada921ed9d530b64 17066 database optional
pgsql-ogr-fdw_1.1.7-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmoRQn0ACgkQZ1DxCuiN
SvFxUg/9EXd4GC8XZRK+DVlLfFyvP2PEFcb6sEBKG4LysLnUQHkshpLiEkpCWsqr
Ddi0HhTchlbWMnwdFncVB4z9OzjYSrW8f9m6Xlk4gsiMqbZRg71pC1HXubN2H7Ou
N/lcLXyHB5DEorS+SKAi6+cWyQ1iOVzjEMR7NsOSJ9nIHlzWfqXKyPZUfRsl+YQP
4eQhfaztk25UVBUFOZOj7X4vuOrQWwPKyczI0M4v7QMFaARhkjDadDJX2GlRedG8
+1FoioCk/AXL5A1UKwaz0KaGNxno4fuLO8iqQd7zeY3MQjy/B1nDXh8vcCIXn9NO
KAikCfQHXBVrenkJqqJSr9TotM8I/sYPBbnI6m16nKybk5IvMuIsA1xOXvj/wU3i
1RR7Ixanmg4CT8l6jrA2211Ou03yK5QLKa6hpCIpSG9ErWn4eZcwOV3aW/NXGmpD
o3A0YX/UWsMsPkUbmd6pog7DR7W3vjVzX7GDDi6zLWpUSZzEuVc/sSTpqE+3nHDo
87FN19YFFY1LqeeqyL9BcMa2Hq8iBc80LfXoXYiH6tqfSDQni7hRII2Z8wjuz1xW
CrUTsunRS64fYlvhk8PtnTT34pKN9IJ07Y+Njjl+ScCSf5LSJfksr8E2u81Bh3s6
I7cwRkvlQmIDC99T25HeZRR6bOlI2AfjWuiJJiuygkq5gqb/4Xs=
=Jhk5
-----END PGP SIGNATURE-----
pgpk37CFzeSOE.pgp
Description: PGP signature
--- End Message ---