mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
curlpp: upgrade to latest revision
The last release was almost a decade ago, but there are quite a few commits that were added to the project since that. Instead of waiting for a new release, use the tip of the repository. Changelog: https://github.com/jpbarrette/curlpp/compare/v0.8.1...ec1b66e699557cd9d608d322c013a1ebda16bd08 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
37b9749f24
commit
69f1a41a94
@ -1,36 +0,0 @@
|
||||
From ebe9144fdfdc8154661b93322cec4a1c43aa75ff Mon Sep 17 00:00:00 2001
|
||||
From: alperak <alperyasinak1@gmail.com>
|
||||
Date: Tue, 1 Oct 2024 19:45:38 +0300
|
||||
Subject: [PATCH] Fix invalid conversion from int to CURLoption
|
||||
|
||||
Options.hpp:281:74: error: invalid conversion from 'int' to 'CURLoption' [-fpermissive]
|
||||
281 | typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
|
||||
| ^
|
||||
| |
|
||||
| int
|
||||
|
||||
Fix invalid conversion by adding explicit cast to CURLoption
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: alperak <alperyasinak1@gmail.com>
|
||||
---
|
||||
include/curlpp/Options.hpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/curlpp/Options.hpp b/include/curlpp/Options.hpp
|
||||
index c705c9d..7c9a501 100644
|
||||
--- a/include/curlpp/Options.hpp
|
||||
+++ b/include/curlpp/Options.hpp
|
||||
@@ -278,7 +278,7 @@ 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<curl_closepolicy, (CURLoption)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;
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@ -9,10 +9,11 @@ DEPENDS:class-native = "curl-native"
|
||||
|
||||
SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
|
||||
file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch \
|
||||
file://0002-fix-invalid-conversion-from-int-to-CURLoption.patch"
|
||||
"
|
||||
|
||||
SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
|
||||
SRCREV = "ec1b66e699557cd9d608d322c013a1ebda16bd08"
|
||||
|
||||
PV .= "+git"
|
||||
|
||||
inherit cmake pkgconfig binconfig
|
||||
|
||||
@ -23,4 +24,6 @@ do_install:append() {
|
||||
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
|
||||
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
|
||||
-i ${D}${libdir}/pkgconfig/*.pc
|
||||
|
||||
sed -i 's@${RECIPE_SYSROOT}@${CMAKE_SYSROOT}@' ${D}${libdir}/cmake/curlpp/curlppTargets.cmake
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user