-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geo/osrm-backend: update to a newer commit to unbreak with boost 1.87.
it still builds against the in-tree boost 1.84. cf Project-OSRM/osrm-backend#6432 and Project-OSRM/osrm-backend#7073 and Project-OSRM/osrm-backend#6903 (mapbox variant removal)
- Loading branch information
Showing
8 changed files
with
82 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (osrm-backend-5.27.1pl0-31e31a63.tar.gz) = 1BCHnp2wPyF7Eiz9AZvfVrOBCsyGortUCnyilOqK7ns= | ||
SIZE (osrm-backend-5.27.1pl0-31e31a63.tar.gz) = 11087133 | ||
SHA256 (osrm-backend-5.27.1pl1-d9ce9cf7.tar.gz) = 0vrwee0MEK1JrC2Nx6S7set+j1KScVpFN/5GGNfoj2w= | ||
SIZE (osrm-backend-5.27.1pl1-d9ce9cf7.tar.gz) = 11546328 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
https://github.com/Project-OSRM/osrm-backend/pull/7073 | ||
|
||
fix build with boost 1.87.0 | ||
|
||
Index: include/server/server.hpp | ||
--- include/server/server.hpp.orig | ||
+++ include/server/server.hpp | ||
@@ -53,8 +53,7 @@ class Server | ||
const auto port_string = std::to_string(port); | ||
|
||
boost::asio::ip::tcp::resolver resolver(io_context); | ||
- boost::asio::ip::tcp::resolver::query query(address, port_string); | ||
- boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(query); | ||
+ boost::asio::ip::tcp::endpoint endpoint = *resolver.resolve(address, port_string).begin(); | ||
|
||
acceptor.open(endpoint.protocol()); | ||
#ifdef SO_REUSEPORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters