tags 1096393 + patch
user [email protected]
usertag 1096393 + bsp-2025-10-brazil
thanks

Hi!

On Mon Feb 17, 2025 at 2:05 PM -03, Matthias Klose wrote:
> MOGL_Fenetre.h:53:12: note: there is 1 candidate
>    53 |     struct CompareResolution
>       |            ^~~~~~~~~~~~~~~~~
> MOGL_Fenetre.h:55:14: note: candidate 1: ‘bool 
> MOGL_Fenetre::CompareResolution::operator()(const 
> MOGL_Fenetre::MOGL_Resolution&, const MOGL_Fenetre::MOGL_Resolution&)’ (near 
> match)
>    55 |         bool operator() (const MOGL_Resolution & x, const 
> MOGL_Resolution & y)
>       |              ^~~~~~~~
> MOGL_Fenetre.h:55:14: note: passing ‘const MOGL_Fenetre::CompareResolution*’ 
> as ‘this’ argument discards qualifiers
> make[4]: *** [Makefile:482: MOGL_Fenetre.o] Error 1

The build fails because of the lack of the const keyword in the
MOGL_Fenetre::CompareResolution function call operator. Please find the
patch in the Merge Request I created [1].

I tested locally and this is enough to make it successfully build from
source once again.

Upstream hasn't released a new version since 2010. Thus, I didn't
forward the fix to them.

[1] https://salsa.debian.org/games-team/briquolo/-/merge_requests/1

--
Henrique F. Simoes

Reply via email to