Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qwtw] Include <chrono> for chrono_literals #42423

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ports/qwtw/add-include-chrono.patch
Original file line number Diff line number Diff line change
@@ -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>
4 changes: 3 additions & 1 deletion ports/qwtw/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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")
6 changes: 1 addition & 5 deletions ports/qwtw/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -22,10 +22,6 @@
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7766,7 +7766,7 @@
},
"qwtw": {
"baseline": "3.1.0",
"port-version": 3
"port-version": 4
},
"rabit": {
"baseline": "0.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/q-/qwtw.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "22ef5b72a4e1c73a37012ed27045397771848a86",
"version": "3.1.0",
"port-version": 4
},
{
"git-tree": "48138fbfb30a40a3a78cd2ecd61ed0d3fc9e24ea",
"version": "3.1.0",
Expand Down
Loading