[Bug 297799] www/osrm-backend: Fix build in current port version
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 297799] www/osrm-backend: Fix build in current version"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Aug 2026 00:57:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297799
--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=165963595d8fc1427357461af9b1fd0f6c92d0d2
commit 165963595d8fc1427357461af9b1fd0f6c92d0d2
Author: Peter Laursen <freebsd@mosedal.net>
AuthorDate: 2026-08-24 00:53:10 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-08-24 00:53:10 +0000
www/osrm-backend: Fix build: 'deadline_timer' is deprecated: Use
system_timer
In file included from
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-0ae940c31566df2aec0ecd679c84c11ede9831ef/src/tools/r
outed.cpp:1:
In file included from
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-0ae940c31566df2aec0ecd679c84c11ede9831ef/include/ser
ver/server.hpp:4:
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-0ae940c31566df2aec0ecd679c84c11ede9831ef/include/server/connection.hpp:53:
18: error: 'deadline_timer' is deprecated: Use system_timer
[-Werror,-Wdeprecated-declarations]
53 | boost::asio::deadline_timer timer;
| ^
/usr/local/include/boost/asio/deadline_timer.hpp:36:1: note:
'deadline_timer' has been explicitly marked deprecated here
36 | BOOST_ASIO_DEPRECATED_MSG("Use system_timer")
| ^
/usr/local/include/boost/asio/detail/config.hpp:1484:47: note: expanded
from macro 'BOOST_ASIO_DEPRECATED_MSG'
1484 | # define BOOST_ASIO_DEPRECATED_MSG(msg) [[deprecated(msg)]]
| ^
1 error generated.
- Add -Wno-deprecated-declarations to the CXXFLAGS.
- While here fix warning from portclippy.
PR: 297799
Sponsored by: UNIS Labs
MFH: 2026Q3
www/osrm-backend/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.