[qwtw] Include <chrono> for chrono_literals (#42423)

This commit is contained in:
Cheney Wang 2024-12-02 12:31:44 +08:00 committed by GitHub
parent 0f2f263688
commit 1557bc4f5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 22 additions and 7 deletions

View File

@ -0,0 +1,12 @@
diff --git a/qwtw/qwtest2.cpp b/qwtw/qwtest2.cpp
index 97af0cc..470f6cd 100644
--- a/qwtw/qwtest2.cpp
+++ b/qwtw/qwtest2.cpp
@@ -7,6 +7,7 @@
#include <iostream>
#include <math.h>
#include <conio.h>
+#include <chrono>
#include <iomanip>
#include <locale>

View File

@ -4,6 +4,8 @@ vcpkg_from_github(
REF 7d6e7c95437cbc7d5d123fc1ccf0d6a3c4e419e6 # v3.1.0
SHA512 de5abf26d0975b9f0ed88e10cd4d5b4d12e25cce8c87ab6a18d8e7064697de6fc8da83e118b5a4e2819c09e2dbbfd20daeecc6a42748c019c6699666276d075a
HEAD_REF master
PATCHES
add-include-chrono.patch
)
vcpkg_cmake_configure(
@ -12,4 +14,4 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,7 +1,7 @@
{
"name": "qwtw",
"version": "3.1.0",
"port-version": 3,
"port-version": 4,
"description": "qwt-based 2D plotting library",
"homepage": "https://github.com/ig-or/qwtw",
"supports": "windows & x64 & !static",
@ -22,10 +22,6 @@
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -7766,7 +7766,7 @@
},
"qwtw": {
"baseline": "3.1.0",
"port-version": 3
"port-version": 4
},
"rabit": {
"baseline": "0.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "22ef5b72a4e1c73a37012ed27045397771848a86",
"version": "3.1.0",
"port-version": 4
},
{
"git-tree": "48138fbfb30a40a3a78cd2ecd61ed0d3fc9e24ea",
"version": "3.1.0",