Created attachment 219089 [details] Patch to update port Hi, Attached is a patch that updates www/osrm-backend to v5.23.0. This update also fixes recent build errors as seen on the current version. All the best, Peter.
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. It seems to fail in 11 so we should MFH this. Thanks!
Hi, Thanks for the feedback. I have added the Github Tag URL as that contains the changes. All the best, Peter.
It does not build in 11: /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.23.0/src/util/timezones.cpp:157:21: error: loop variable 'v' of type 'const std::__1::pair<boost::geometry::model::box<boos t::geometry::model::point<double, 2, boost::geometry::cs::spherical_equatorial<boost::geometry::degree> > >, unsigned long>' creates a copy from type 'const std::__1::pair<boost:: geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::spherical_equatorial<boost::geometry::degree> > >, unsigned long>' [-Werror,-Wrange-loop-constru ct] for (const auto v : result) ^ /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.23.0/src/util/timezones.cpp:157:10: note: use reference type 'const std::__1::pair<boost::geometry::model::box<boost::geome try::model::point<double, 2, boost::geometry::cs::spherical_equatorial<boost::geometry::degree> > >, unsigned long> &' to prevent copying for (const auto v : result) ^~~~~~~~~~~~~~ & Would it work with a patch with the suggested fix? In 12 and 13 it also fails :-( in this case with: ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: etc/rc.d/osrm
Created attachment 219318 [details] osrm upgrade patch (v2), fixes build and removes stale dependencies Hi, Sorry for the bad patch. This patch should fix builds on 11 and 12 and update to the latest version. All the best, Peter
A commit references this bug: Author: fernape Date: Tue Nov 3 14:17:55 UTC 2020 New revision: 553984 URL: https://svnweb.freebsd.org/changeset/ports/553984 Log: www/osrm-backend: Update to v5.23.0 ChangeLog: https://github.com/Project-OSRM/osrm-backend/releases/tag/v5.23.0 PR: 250620 Submitted by: freebsd@mosedal.net (maintainer) MFH: 2020Q4 (blanket, runtime fixes) Changes: head/www/osrm-backend/Makefile head/www/osrm-backend/distinfo head/www/osrm-backend/files/patch-src_util_timezones.cpp head/www/osrm-backend/pkg-plist
A commit references this bug: Author: fernape Date: Tue Nov 3 14:20:00 UTC 2020 New revision: 553985 URL: https://svnweb.freebsd.org/changeset/ports/553985 Log: MFH: r553984 www/osrm-backend: Update to v5.23.0 ChangeLog: https://github.com/Project-OSRM/osrm-backend/releases/tag/v5.23.0 PR: 250620 Submitted by: freebsd@mosedal.net (maintainer) Approved by: ports-secteam (blanket, runtime fixes) Changes: _U branches/2020Q4/ branches/2020Q4/www/osrm-backend/Makefile branches/2020Q4/www/osrm-backend/distinfo branches/2020Q4/www/osrm-backend/files/patch-src_util_timezones.cpp branches/2020Q4/www/osrm-backend/pkg-plist
Committed and MFHed. Thanks!