Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: geo/qmapshack build failure
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
ports@openbsd.org
Date:
Mon, 11 May 2026 12:58:20 +0200

Download raw body.

Thread
Le Mon, May 11, 2026 at 12:17:36PM +0200, Christian Weisgerber a écrit :
> geo/qmapshack failed to build in my latest amd64 package build:
> 
> /usr/obj/ports/qmapshack-1.18.0/qmapshack-V_1.18.0/src/qmt_map2jnx/main.cpp:433:23:
> error: use of undeclared identifier 'MAX'
>   433 |   nThisTick = MIN(40, MAX(0, nThisTick));
>       |                       ^
> 1 error generated.
> 
> 
> Full log attached.

i'll take care of it, that's fallout from the gdal update -
https://github.com/Maproom/qmapshack/commit/9dc06c5e6c94f48cb3efca12d8fefcb106b5ee01#diff-4bbf79044f03ff430955dc7a1fcfb5a5642f4c5a6e34d02819894de2b5dc0226
should fixit

someone (tm) can also update it to 1.20.2 which contains the fix.