svn commit: r545180 - head/www/osrm-backend
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Aug 17 20:01:16 UTC 2020
Author: pkubaj
Date: Mon Aug 17 20:01:15 2020
New Revision: 545180
URL: https://svnweb.freebsd.org/changeset/ports/545180
Log:
www/osrm-backend: fix build on GCC architectures
Merge two upstream commits to fix build:
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp: In member function 'bool osrm::storage::IOConfig::IsValid() const':
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:18:89: error: call of overloaded 'is_regular_file(<brace-enclosed initializer list>)' is ambiguous
18 | if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()}))
| ^
In file included from /usr/local/include/boost/filesystem.hpp:18,
from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8,
from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1:
/usr/local/include/boost/filesystem/directory.hpp:171:20: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::directory_entry&)'
171 | inline bool is_regular_file(const directory_entry& e) BOOST_NOEXCEPT { return filesystem::is_regular_file(e.status()); }
| ^~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/filesystem.hpp:19,
from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8,
from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1:
/usr/local/include/boost/filesystem/operations.hpp:169:6: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::path&)'
169 | bool is_regular_file(const path& p) {return is_regular_file(detail::status(p));}
| ^~~~~~~~~~~~~~~
MFH: 2020Q3 (fix build blanket)
Modified:
head/www/osrm-backend/Makefile
head/www/osrm-backend/distinfo
Modified: head/www/osrm-backend/Makefile
==============================================================================
--- head/www/osrm-backend/Makefile Mon Aug 17 19:37:57 2020 (r545179)
+++ head/www/osrm-backend/Makefile Mon Aug 17 20:01:15 2020 (r545180)
@@ -6,6 +6,10 @@ DISTVERSION= 5.22.0
PORTREVISION= 9
CATEGORIES= www
+PATCH_SITES= https://github.com/Project-OSRM/osrm-backend/commit/
+PATCHFILES= 38700e207e076a391f30ef66ad90d03e7543006e.patch:-p1 \
+ 018a9bc80449d85c0e40fa5215377d8a03264c88.patch:-p1
+
MAINTAINER= freebsd at mosedal.net
COMMENT= Open Source Routing Machine (Backend)
Modified: head/www/osrm-backend/distinfo
==============================================================================
--- head/www/osrm-backend/distinfo Mon Aug 17 19:37:57 2020 (r545179)
+++ head/www/osrm-backend/distinfo Mon Aug 17 20:01:15 2020 (r545180)
@@ -1,3 +1,7 @@
-TIMESTAMP = 1548918753
+TIMESTAMP = 1597690747
SHA256 (Project-OSRM-osrm-backend-v5.22.0_GH0.tar.gz) = df0987a04bcf65d74f9c4e18f34a01982bf3bb97aa47f9d86cfb8b35f17a6a55
SIZE (Project-OSRM-osrm-backend-v5.22.0_GH0.tar.gz) = 6492998
+SHA256 (38700e207e076a391f30ef66ad90d03e7543006e.patch) = 2c353e7e942df92091cf138f9c47135a74dc6f70bcad6897b118b312ca226ad6
+SIZE (38700e207e076a391f30ef66ad90d03e7543006e.patch) = 2165
+SHA256 (018a9bc80449d85c0e40fa5215377d8a03264c88.patch) = 7ad04466e0ac4a5dcafc5bb38a1ac20039339c73f0e32475c25d4614b353ec61
+SIZE (018a9bc80449d85c0e40fa5215377d8a03264c88.patch) = 3214
More information about the svn-ports-head
mailing list