diff --git a/ports/qwtw/add-include-chrono.patch b/ports/qwtw/add-include-chrono.patch new file mode 100644 index 0000000000..fc5fb238bd --- /dev/null +++ b/ports/qwtw/add-include-chrono.patch @@ -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 + #include + #include ++#include + + #include + #include diff --git a/ports/qwtw/portfile.cmake b/ports/qwtw/portfile.cmake index f1e98bde14..5bff89f40d 100644 --- a/ports/qwtw/portfile.cmake +++ b/ports/qwtw/portfile.cmake @@ -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") diff --git a/ports/qwtw/vcpkg.json b/ports/qwtw/vcpkg.json index 6ecdf89907..5173614a25 100644 --- a/ports/qwtw/vcpkg.json +++ b/ports/qwtw/vcpkg.json @@ -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 } ] } diff --git a/versions/baseline.json b/versions/baseline.json index d7cf054444..c449aca460 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7766,7 +7766,7 @@ }, "qwtw": { "baseline": "3.1.0", - "port-version": 3 + "port-version": 4 }, "rabit": { "baseline": "0.1", diff --git a/versions/q-/qwtw.json b/versions/q-/qwtw.json index 8a89b4e08b..0636c361df 100644 --- a/versions/q-/qwtw.json +++ b/versions/q-/qwtw.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "22ef5b72a4e1c73a37012ed27045397771848a86", + "version": "3.1.0", + "port-version": 4 + }, { "git-tree": "48138fbfb30a40a3a78cd2ecd61ed0d3fc9e24ea", "version": "3.1.0",