Your message dated Fri, 24 Apr 2026 12:52:31 +0000
with message-id <[email protected]>
and subject line Bug#1134149: fixed in qmapshack 1.20.2-1
has caused the Debian Bug report #1134149,
regarding qmapshack: 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.)


-- 
1134149: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134149
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: qmapshack
Version: 1.20.1-1
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]
 error: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]

The attached patch fixes the issue.

Kind Regards,

Bas
diff -Nru qmapshack-1.20.1/debian/patches/gdal-3.13.patch 
qmapshack-1.20.1/debian/patches/gdal-3.13.patch
--- qmapshack-1.20.1/debian/patches/gdal-3.13.patch     1970-01-01 
01:00:00.000000000 +0100
+++ qmapshack-1.20.1/debian/patches/gdal-3.13.patch     2026-04-17 
06:14:14.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with GDAL 3.13.0.
+ error: 'MIN' was not declared in this scope
+ error: 'MAX' was not declared in this scope
+Author: Bas Couwenberg <[email protected]>
+
+--- a/src/qmt_map2jnx/main.cpp
++++ b/src/qmt_map2jnx/main.cpp
+@@ -430,7 +430,11 @@ static void printProgress(int current, i
+   static int nLastTick = -1;
+   int nThisTick = (int)(dfComplete * 40.0);
+ 
++#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 13, 0)
++  nThisTick = CPL_MIN(40, CPL_MAX(0, nThisTick));
++#else
+   nThisTick = MIN(40, MAX(0, nThisTick));
++#endif
+ 
+   // Have we started a new progress run?
+   if (nThisTick < nLastTick && nLastTick >= 39) {
diff -Nru qmapshack-1.20.1/debian/patches/series 
qmapshack-1.20.1/debian/patches/series
--- qmapshack-1.20.1/debian/patches/series      2025-11-06 15:30:14.000000000 
+0100
+++ qmapshack-1.20.1/debian/patches/series      2026-04-17 06:14:14.000000000 
+0200
@@ -1 +1,2 @@
 proj.patch
+gdal-3.13.patch

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

We believe that the bug you reported is fixed in the latest version of
qmapshack, 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 qmapshack 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: Fri, 24 Apr 2026 14:17:57 +0200
Source: qmapshack
Architecture: source
Version: 1.20.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 1134149
Changes:
 qmapshack (1.20.2-1) unstable; urgency=medium
 .
   * New upstream release.
     (closes: #1134149)
   * Bump Standards-Version to 4.7.4, no changes.
Checksums-Sha1:
 f4cbc2e135417c5ea4de8a8a467660777b589d64 2177 qmapshack_1.20.2-1.dsc
 68fbe813f96ef086912e11bc9515f494e6c34a3c 57865664 qmapshack_1.20.2.orig.tar.gz
 9fe8d17ea5e06d61ee31e2d92872ef2457ccdb82 11260 qmapshack_1.20.2-1.debian.tar.xz
 11e55c2f800667e38ebcfc4473e048da40f9314a 23925 
qmapshack_1.20.2-1_amd64.buildinfo
Checksums-Sha256:
 8c2bc066b1162ba40b68548f44e2f089cb32f5613150995988e70f1e5c537116 2177 
qmapshack_1.20.2-1.dsc
 e7271b9370577377bb2608d82e89cbc0a8a309100dbb51d97291f6bfbedce05c 57865664 
qmapshack_1.20.2.orig.tar.gz
 28be7ae81af2059bde5e65ddaf85cb7662f6f9cf8f4dbac5bc45db510fd189e8 11260 
qmapshack_1.20.2-1.debian.tar.xz
 fe60541669a2c6ef7b4ac3564efeac092c5861351d7f6736cf70ed843d574ad7 23925 
qmapshack_1.20.2-1_amd64.buildinfo
Files:
 1d070d470389b78d6ce84b9b9fdbcb2a 2177 science optional qmapshack_1.20.2-1.dsc
 fd24f8d9b1de8de97f546a753d5a37a2 57865664 science optional 
qmapshack_1.20.2.orig.tar.gz
 47f751da0807c8773f18eab18b95ce4d 11260 science optional 
qmapshack_1.20.2-1.debian.tar.xz
 e07932369f5bbc14a3b4d1dbba8398de 23925 science optional 
qmapshack_1.20.2-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmnrYcUACgkQZ1DxCuiN
SvEd9A/+PB9RbvfZkN2Vhy4d+zw9ngi9/WOM2sYQb764cn1vW0d2xMjEz94ciJSk
OvGeA18TqFfAmUNL0Aejc6T0JSs7opjykUa1b9h/kkhcdsu0XpSAlyQyOTaUTgrz
UPLIQm+ZewB27VDtR/tsKZ/Xpa6z06iLYxhxSvhbAdYSiU6Zn/WMu1Usa6phOusb
RArRAXzF3jgLKYiFxl9WuRjZZLpzroOg3Hg+QRf7rxSDH0QZVKOyNylybqE7FhN9
J0qHu3zW1v3CVI8Q/MPYfKC/4g7/3Bdlx3rVsbHVzGlAF0enxE9bNwkZUymnvWK6
MfVXdS9vRrtgL6OM+ZnnXulUYkJ8FPF45dO1IcZhmgTh+BSrzGX+HhTe6f0t5LPu
Yi3RV2+e3pxFu3WAR40ISdpfTKzfCAWUHMYrDd2pISPhxK19nieMQGMbR6iZK8ue
5SUP/3vOapJg+qOR/OYACa7O3S0x3CtnIn9GJNwOWPcgKpEp7SjlqHp8CtkdFW0a
HcYOcuTxFukemHSspf9t5e8Er2hiEFjC+h3hOH6lMYwZlj96AtJJrD6tY4AD56nu
xTJUBnRTTAb1u2273U6/qWCa/pUR9GD0/VNTdizt1xVUklyadFCamkbFNeybQTEO
pXQvJxlZG7HUSqAJIehKF5KRjE/4w8VbOrLNatl4J+wBoi1xXSA=
=rAyY
-----END PGP SIGNATURE-----

Attachment: pgpJoQvxEct_O.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