mirror of https://github.com/microsoft/vcpkg.git
[rappture] fix build with c++17 (#52210)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
8cc2c328d0
commit
40e35a2cbd
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/src/core/RpUnits.h b/src/core/RpUnits.h
|
||||
index e697424..fb9b3b5 100644
|
||||
--- a/src/core/RpUnits.h
|
||||
+++ b/src/core/RpUnits.h
|
||||
@@ -393,9 +393,7 @@ class RpUnits
|
||||
return true;
|
||||
|
||||
}
|
||||
- struct _key_compare:
|
||||
- public
|
||||
- std::binary_function<std::string,std::string,bool> {
|
||||
+ struct _key_compare {
|
||||
|
||||
bool operator() ( const std::string& lhs,
|
||||
const std::string& rhs ) const
|
||||
|
|
@ -12,6 +12,7 @@ vcpkg_extract_source_archive(
|
|||
PATCHES
|
||||
rappture.patch
|
||||
include_functional.patch
|
||||
fix_c++17.patch
|
||||
)
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "rappture",
|
||||
"version": "1.9",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "Rappture is a toolkit supporting Rapid application infrastructure, making it quick and easy to develop powerful scientific applications.",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -8646,7 +8646,7 @@
|
|||
},
|
||||
"rappture": {
|
||||
"baseline": "1.9",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"raygui": {
|
||||
"baseline": "4.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e5912ed2b7fd8365575c4bd9c6318e98ddebf8de",
|
||||
"version": "1.9",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "31376dbc3c6b3f397f76819c46c05a653c47e1ce",
|
||||
"version": "1.9",
|
||||
|
|
|
|||
Loading…
Reference in New Issue