Your message dated Mon, 20 Apr 2026 15:49:02 +0000
with message-id <[email protected]>
and subject line Bug#1134122: fixed in mapcache 1.16.0-1
has caused the Debian Bug report #1134122,
regarding mapcache: 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.)


-- 
1134122: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134122
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mapcache
Version: 1.14.1-3
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 mapcache-1.14.1/debian/patches/gdal-3.13.patch 
mapcache-1.14.1/debian/patches/gdal-3.13.patch
--- mapcache-1.14.1/debian/patches/gdal-3.13.patch      1970-01-01 
01:00:00.000000000 +0100
+++ mapcache-1.14.1/debian/patches/gdal-3.13.patch      2026-04-16 
19:23:52.000000000 +0200
@@ -0,0 +1,22 @@
+Description: Fix FTBFS with GDAL 3.13.0.
+ error: implicit declaration of function 'MIN' 
[-Wimplicit-function-declaration]
+Author: Bas Couwenberg <[email protected]>
+
+--- a/lib/source_gdal.c
++++ b/lib/source_gdal.c
+@@ -347,9 +347,15 @@ CreateWarpedVRT( GDALDatasetH hSrcDS,
+     {
+         double dfDesiredXRes = (extent->maxx - extent->minx) / width;
+         double dfDesiredYRes = (extent->maxy - extent->miny) / height;
++#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 13, 0)
++        double dfDesiredRes = CPL_MIN( dfDesiredXRes, dfDesiredYRes );
++        double dfGuessedFullRes = CPL_MIN( adfDstGeoTransform[1],
++                                   fabs(adfDstGeoTransform[5]) );
++#else
+         double dfDesiredRes = MIN( dfDesiredXRes, dfDesiredYRes );
+         double dfGuessedFullRes = MIN( adfDstGeoTransform[1],
+                                    fabs(adfDstGeoTransform[5]) );
++#endif
+         double dfApproxDstOvrRatio = dfDesiredRes / dfGuessedFullRes;
+ 
+         GDALRasterBandH hFirstBand = GDALGetRasterBand(hSrcDS, 1);
diff -Nru mapcache-1.14.1/debian/patches/series 
mapcache-1.14.1/debian/patches/series
--- mapcache-1.14.1/debian/patches/series       1970-01-01 01:00:00.000000000 
+0100
+++ mapcache-1.14.1/debian/patches/series       2026-04-16 19:23:52.000000000 
+0200
@@ -0,0 +1 @@
+gdal-3.13.patch

--- End Message ---
--- Begin Message ---
Source: mapcache
Source-Version: 1.16.0-1
Done: Bas Couwenberg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mapcache, 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 mapcache 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: Mon, 20 Apr 2026 17:26:53 +0200
Source: mapcache
Architecture: source
Version: 1.16.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1134122
Changes:
 mapcache (1.16.0-1) unstable; urgency=medium
 .
   * New upstream release.
     (closes: #1134122)
   * Mark libmapcache1t64 as Multi-Arch: same.
   * Update lintian overrides.
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
   * Drop rules for armel.
   * Drop Priority: optional, default since dpkg 1.22.13.
   * Bump Standards-Version to 4.7.4, changes: priority.
   * Drop obsolete Breaks/Replaces.
   * Update copyright file.
Checksums-Sha1:
 e77fd32e6c15acb4d45c707ab58454ab31f00b89 2819 mapcache_1.16.0-1.dsc
 1a462e565f5c30bc9b28bdaefeea2a1f49468f5f 1072875 mapcache_1.16.0.orig.tar.gz
 91c5aeb51b81cc168b90f49d6d6ea4c2ceb7af1f 15088 mapcache_1.16.0-1.debian.tar.xz
 0d4b88936e1f85f6e0fe8ace630e717533530982 23501 
mapcache_1.16.0-1_amd64.buildinfo
Checksums-Sha256:
 232a392359d2f8b2324d8e6c1b3bd397255be601e052377709267461e3158e47 2819 
mapcache_1.16.0-1.dsc
 42fe5f3ce635259ee34e9d4f977c37fc2c50486a8b0b41d6535d069b2ec80a3c 1072875 
mapcache_1.16.0.orig.tar.gz
 5da4bee9b1d5dc8e185ba5cede96ddcc78f7c5c501437ca0b1307988d645bb2b 15088 
mapcache_1.16.0-1.debian.tar.xz
 0dacdf1575cdd47309cb326cdb96e93f7728b2576b0b0daa99355b89950b924a 23501 
mapcache_1.16.0-1_amd64.buildinfo
Files:
 76919a1540332bdafb3674f764a10c59 2819 devel optional mapcache_1.16.0-1.dsc
 f511fa7a66fbb7421e1844aaf7805575 1072875 devel optional 
mapcache_1.16.0.orig.tar.gz
 953c0930ab63955b1a925bc642eaae79 15088 devel optional 
mapcache_1.16.0-1.debian.tar.xz
 a399812267207a82e0add4e7b65ef6fc 23501 devel optional 
mapcache_1.16.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmnmR28ACgkQZ1DxCuiN
SvGq9A/+NPmZR4L6eGGoRU8eAysdFygWIUpM6gr4EFqRaOc2I5W7C7Ob04qZw9VG
WArDXt5EzqJDBYgktVj0u0kyPojHVmAb/5kSLZ4GtwYKSYLEKt3Hxg26283Vgs3K
uXSO3MWS1x5KmkqfDQGUM13FEjtPN9T8xEK9s/Z+SJpTYFBe4WNskCniAIxldzcg
QKx0zfdGk936iOK2BZ9fIztDElCA1R9FEUoNuQ2eBq4le0qf2GGOdvxh0YZH+5Xd
6hj7rY+eotxCO/fQFDId5fzCUCaOUNghLIsd4dx+0+IjzEMPNC68vRgkS7+fMutG
jIO45MFcLK/yQx18n07yKSVqo/qDQ4xZto0MfnulWJ5br/sOXhnbDE0vqLae4lTg
XlIwtO/jA7ykE+7jeTv9x9+y8dub7t/9/XWiSmTwgv3U94HIG+tK/BSkF8MGg5mR
Zf+SB3PNH2r8rN6pl0+hg3TLPtEVuLU0bhV5cZaCtSp6HSE/a3UEWcJfpxVD5ZR0
sHphYtOfsPRNQBoeoohvwyRRO/UfwC/OduqY7C6UY7T9VSRaaFNDCnBNWgodqhKs
3+MghS0IUsERbrL4cRkOuzM3Toh8AeQVQPsDK2OBWXyXkijL76AWk1oxY27ayqea
ue4hUNC2V2JNHg0+W6QfPThAI112DGUkELVACMI+bdjxwWg2HoE=
=ek9X
-----END PGP SIGNATURE-----

Attachment: pgpUD06UPSumJ.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to