git: 5ee6bd45988f - main - www/restinio: 0.7.7 update, fixes asio and fmt compat.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Aug 2025 19:03:34 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ee6bd45988fdac8363a11682cf325f008b3e37d
commit 5ee6bd45988fdac8363a11682cf325f008b3e37d
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-08-10 08:13:15 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-08-10 19:02:48 +0000
www/restinio: 0.7.7 update, fixes asio and fmt compat.
Approved by: portmgr@ (blanket just-fix-it)
Reported by: poudriere test build.
Related to:
PR: 286406
Poudriere jail 14.2-RELEASE amd64 build failure without this update was:
[00:00:56] FAILED: benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o
[00:00:56] /usr/local/libexec/ccache/c++ -DFMT_HEADER_ONLY=1 -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/clara -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/.. -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/expected-lite/include -I/wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio-helpers -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17 -pthread -MD -MT benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o -MF benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o.d -o benches/single_handler_no_timer/CMakeFiles/_bench.restinio.single_handler_no_timer.dir/main.cpp.o -c /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_han
dler_no_timer/main.cpp
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:17:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/connection.hpp:1134:18: error: no template named 'buffer_cast' in namespace 'asio'; did you mean 'buffer_copy'?
[00:00:56] 1134 | asio_ns::buffer_cast< const char * >(
[00:00:56] | ~~~~~~~~~^~~~~~~~~~~
[00:00:56] | buffer_copy
[00:00:56] /usr/local/include/asio/buffer.hpp:2591:20: note: 'buffer_copy' declared here
[00:00:56] 2591 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:17:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/connection.hpp:1134:9: error: no matching function for call to 'buffer_copy'
[00:00:56] 1134 | asio_ns::buffer_cast< const char * >(
[00:00:56] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] /usr/local/include/asio/buffer.hpp:2591:20: note: candidate function template not viable: requires 2 arguments, but 1 was provided
[00:00:56] 2591 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2592 | const ConstBufferSequence& source) noexcept
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] /usr/local/include/asio/buffer.hpp:2628:20: note: candidate function template not viable: requires 3 arguments, but 1 was provided
[00:00:56] 2628 | inline std::size_t buffer_copy(const MutableBufferSequence& target,
[00:00:56] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2629 | const ConstBufferSequence& source,
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] 2630 | std::size_t max_bytes_to_copy) noexcept
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/benches/single_handler_no_timer/main.cpp:8:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/all.hpp:12:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/core.hpp:20:
[00:00:56] In file included from /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/http_server.hpp:14:
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:266:46: error: no member named 'max_connections' in 'asio::socket_base'
[00:00:56] 266 | m_acceptor.listen( asio_ns::socket_base::max_connections );
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~^
[00:00:56] /wrkdirs/usr/ports/www/restinio/work/restinio-0.7.3/dev/restinio/../restinio/impl/acceptor.hpp:623:36: error: no member named 'from_string' in 'asio::ip::address'
[00:00:56] 623 | result = asio_ns::ip::address::from_string( str_addr );
[00:00:56] | ~~~~~~~~~~~~~~~~~~~~~~^
[00:00:56] 4 errors generated.
---
www/restinio/Makefile | 6 +++---
www/restinio/distinfo | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/www/restinio/Makefile b/www/restinio/Makefile
index 1338b980e694..c2a9d9e48454 100644
--- a/www/restinio/Makefile
+++ b/www/restinio/Makefile
@@ -1,8 +1,8 @@
PORTNAME= restinio
-DISTVERSION= 0.7.3
-PORTREVISION= 5
+DISTVERSION= 0.7.7
+PORTREVISION= 0
CATEGORIES= www devel
-MASTER_SITES= https://github.com/Stiffstream/${PORTNAME}/releases/download/v.${DISTVERSION}/
+MASTER_SITES= https://github.com/Stiffstream/${PORTNAME}/releases/download/v${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-full
MAINTAINER= yuri@FreeBSD.org
diff --git a/www/restinio/distinfo b/www/restinio/distinfo
index 06a256736dfe..d034b49e6c3d 100644
--- a/www/restinio/distinfo
+++ b/www/restinio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1737932701
-SHA256 (restinio-0.7.3-full.tar.bz2) = 0b3a29fa5b9f9c66f659a4a86b46d5fc925ef125b7ead08e90ac657f40f5b314
-SIZE (restinio-0.7.3-full.tar.bz2) = 1686914
+TIMESTAMP = 1754813414
+SHA256 (restinio-0.7.7-full.tar.bz2) = 175c083bb1747e7168566db795f1824ff494a9492d4e6cab21ada52657e47219
+SIZE (restinio-0.7.7-full.tar.bz2) = 1654721