mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:06:49 +08:00
[status-code] add missing include (#30673)
This commit is contained in:
parent
aef4855626
commit
3a720e8908
12
ports/status-code/add-missing-include.patch
Normal file
12
ports/status-code/add-missing-include.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/wg21/file_io_error.cpp b/wg21/file_io_error.cpp
|
||||
index 41f23a1..fe69458 100644
|
||||
--- a/wg21/file_io_error.cpp
|
||||
+++ b/wg21/file_io_error.cpp
|
||||
@@ -24,6 +24,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include <stdio.h> // for sprintf
|
||||
+#include <utility> // for std::move
|
||||
|
||||
#include "status-code/system_error2.hpp"
|
||||
|
@ -5,6 +5,7 @@ vcpkg_from_github(
|
||||
SHA512 61685b7ba40fd2e8a985a8135065b335655aac7aee7778ca3317004c9730078361cfa4bd1b9ac2f9002efc707bfb6168c0275f11e0c5a6b079d42c8240528a90
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add-missing-include.patch
|
||||
)
|
||||
|
||||
# Because status-code's deployed files are header-only, the debug build is not necessary
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "status-code",
|
||||
"version-date": "2023-01-27",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"maintainers": [
|
||||
"Niall Douglas <s_github@nedprod.com>",
|
||||
"Henrik Gaßmann <henrik@gassmann.onl>"
|
||||
|
@ -7610,7 +7610,7 @@
|
||||
},
|
||||
"status-code": {
|
||||
"baseline": "2023-01-27",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"status-value-lite": {
|
||||
"baseline": "1.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "40d6b3bdc23cdb7de14e9f07eb229d0124b9c550",
|
||||
"version-date": "2023-01-27",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "e920c8de8cd88a6a9f9a4d1c378c21a36759123b",
|
||||
"version-date": "2023-01-27",
|
||||
|
Loading…
Reference in New Issue
Block a user