Initial Commit
- initial default booting image
This commit is contained in:
27
package/curlpp/0001-fix-invalid-conversion.patch
Normal file
27
package/curlpp/0001-fix-invalid-conversion.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From b945d57a5acd12bda320a63eb9e45bbb7586cdde Mon Sep 17 00:00:00 2001
|
||||
From: Aaron Smith <aaron@soccergeek.net>
|
||||
Date: Mon, 16 Dec 2024 11:48:33 -0800
|
||||
Subject: [PATCH] Fix "invalid conversion from 'int' to 'CURLoption'" error
|
||||
|
||||
Use cast to 'Curloption' to fix compiler error regarding invalid conversion from 'int' to 'CURLoption'.
|
||||
|
||||
Upstream: https://github.com/jpbarrette/curlpp/pull/178
|
||||
Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.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 40b64ed..292eaa7 100644
|
||||
--- a/include/curlpp/Options.hpp
|
||||
+++ b/include/curlpp/Options.hpp
|
||||
@@ -308,7 +308,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;
|
||||
|
||||
12
package/curlpp/Config.in
Normal file
12
package/curlpp/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_CURLPP
|
||||
bool "curlpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
help
|
||||
cURLpp is a C++ wrapper for libcURL.
|
||||
|
||||
http://www.curlpp.org/
|
||||
|
||||
comment "curlpp needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
||||
5
package/curlpp/curlpp.hash
Normal file
5
package/curlpp/curlpp.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a v0.8.1.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 8b9e3afd4d06ad3c169e788e5187a3e9f4f35671e9a7322f7e74bea9643b5b5a doc/LICENSE
|
||||
15
package/curlpp/curlpp.mk
Normal file
15
package/curlpp/curlpp.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# curlpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CURLPP_VERSION = 0.8.1
|
||||
CURLPP_SITE = https://github.com/jpbarrette/curlpp/archive
|
||||
CURLPP_SOURCE = v$(CURLPP_VERSION).tar.gz
|
||||
CURLPP_LICENSE = MIT
|
||||
CURLPP_LICENSE_FILES = doc/LICENSE
|
||||
CURLPP_INSTALL_STAGING = YES
|
||||
CURLPP_DEPENDENCIES = libcurl
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user