Date: Wed, 17 Mar 2021 20:22:59 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568688 - head/graphics/openorienteering-mapper/files Message-ID: <202103172022.12HKMxiP016802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Mar 17 20:22:59 2021 New Revision: 568688 URL: https://svnweb.freebsd.org/changeset/ports/568688 Log: - Fix build on 13+ Approved by: portmgr blanket Added: head/graphics/openorienteering-mapper/files/patch-src_core_objects_object.h (contents, props changed) Added: head/graphics/openorienteering-mapper/files/patch-src_core_objects_object.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openorienteering-mapper/files/patch-src_core_objects_object.h Wed Mar 17 20:22:59 2021 (r568688) @@ -0,0 +1,11 @@ +--- src/core/objects/object.h.orig 2020-03-14 12:50:26 UTC ++++ src/core/objects/object.h +@@ -1276,7 +1276,7 @@ float ObjectPathCoord::findClosestPointTo(const MapCoo + inline + constexpr ObjectPathCoord::operator bool() const + { +- return bool { object }; ++ return static_cast<bool>(object); + } + + } // namespace OpenOrienteering
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103172022.12HKMxiP016802>