git: 8fcb623f9cc1 - main - ftp/curlpp: Fix build with curl 8.10.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 04:25:35 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fcb623f9cc1d013727f109641414ce37df10efe

commit 8fcb623f9cc1d013727f109641414ce37df10efe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:13:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:22:26 +0000

    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
---
 ftp/curlpp/files/patch-include-curlpp-Options.hpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ftp/curlpp/files/patch-include-curlpp-Options.hpp b/ftp/curlpp/files/patch-include-curlpp-Options.hpp
new file mode 100644
index 000000000000..929e6860e516
--- /dev/null
+++ b/ftp/curlpp/files/patch-include-curlpp-Options.hpp
@@ -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;