aboutsummaryrefslogtreecommitdiff
path: root/devel/cpprestsdk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cpprestsdk')
-rw-r--r--devel/cpprestsdk/Makefile4
-rw-r--r--devel/cpprestsdk/files/patch-src_http_client_http__client__asio.cpp8
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/cpprestsdk/Makefile b/devel/cpprestsdk/Makefile
index d9fcae5c27a0..e7ef9e92a753 100644
--- a/devel/cpprestsdk/Makefile
+++ b/devel/cpprestsdk/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cpprestsdk
PORTVERSION= 2.10.19
-PORTREVISION= 5
+PORTREVISION= 6
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -12,7 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../license.txt
BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp
-LIB_DEPENDS= libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USES= cmake:testing compiler:c++11-lang pkgconfig ssl
USE_GITHUB= yes
diff --git a/devel/cpprestsdk/files/patch-src_http_client_http__client__asio.cpp b/devel/cpprestsdk/files/patch-src_http_client_http__client__asio.cpp
index 7b4d1af0d422..8906489dced3 100644
--- a/devel/cpprestsdk/files/patch-src_http_client_http__client__asio.cpp
+++ b/devel/cpprestsdk/files/patch-src_http_client_http__client__asio.cpp
@@ -1,5 +1,13 @@
--- src/http/client/http_client_asio.cpp.orig 2023-12-05 04:23:31 UTC
+++ src/http/client/http_client_asio.cpp
+@@ -27,6 +27,7 @@
+ #endif
+ #include <boost/algorithm/string.hpp>
+ #include <boost/asio.hpp>
++#include <boost/asio/deadline_timer.hpp>
+ #include <boost/asio/ssl.hpp>
+ #include <boost/asio/ssl/error.hpp>
+ #include <boost/asio/steady_timer.hpp>
@@ -146,7 +146,7 @@ class asio_connection (public)
friend class asio_client;