1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

ftp/curlpp: Fix build with curl 8.10.0+

Reference:	https://pkg-status.freebsd.org/beefy22/data/140amd64-default/0047206c1c4f/logs/curlpp-0.8.1_4.log
This commit is contained in:
Po-Chuan Hsieh 2024-09-25 12:13:20 +08:00
parent b1b4e46103
commit 8fcb623f9c
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -0,0 +1,10 @@
--- include/curlpp/Options.hpp.orig 2017-03-07 08:02:24 UTC
+++ include/curlpp/Options.hpp
@@ -278,7 +278,6 @@ namespace options
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_LIMIT> LowSpeedLimit;
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_TIME> LowSpeedTime;
typedef curlpp::OptionTrait<long, CURLOPT_MAXCONNECTS> MaxConnects;
- typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
typedef curlpp::OptionTrait<bool, CURLOPT_FRESH_CONNECT> FreshConnect;
typedef curlpp::OptionTrait<bool, CURLOPT_FORBID_REUSE> ForbidReuse;
typedef curlpp::OptionTrait<long, CURLOPT_CONNECTTIMEOUT> ConnectTimeout;