early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/boost-asio/portfile.cmake
vendored
Executable file
13
externals/vcpkg/ports/boost-asio/portfile.cmake
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
# Automatically generated by scripts/boost/generate-ports.ps1
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO boostorg/asio
|
||||
REF boost-1.79.0
|
||||
SHA512 f4e84e4616ad9cc4fae1077e5d3de1ca4e93cf25c83b1fc4bf0130727b41cb3888516e212c89745831c33a9282cf6697742b716bc340c76939cd6335f035716f
|
||||
HEAD_REF master
|
||||
PATCHES windows_alloca_header.patch
|
||||
)
|
||||
|
||||
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
||||
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
||||
40
externals/vcpkg/ports/boost-asio/vcpkg.json
vendored
Executable file
40
externals/vcpkg/ports/boost-asio/vcpkg.json
vendored
Executable file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "boost-asio",
|
||||
"version": "1.79.0",
|
||||
"description": "Boost asio module",
|
||||
"homepage": "https://github.com/boostorg/asio",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
"boost-align",
|
||||
"boost-array",
|
||||
"boost-assert",
|
||||
"boost-bind",
|
||||
"boost-chrono",
|
||||
"boost-config",
|
||||
"boost-core",
|
||||
{
|
||||
"name": "boost-coroutine",
|
||||
"platform": "!arm & !uwp & !emscripten"
|
||||
},
|
||||
"boost-date-time",
|
||||
"boost-function",
|
||||
"boost-regex",
|
||||
"boost-smart-ptr",
|
||||
"boost-system",
|
||||
"boost-throw-exception",
|
||||
"boost-type-traits",
|
||||
"boost-utility",
|
||||
"boost-vcpkg-helpers"
|
||||
],
|
||||
"features": {
|
||||
"ssl": {
|
||||
"description": "Build with SSL support",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "openssl",
|
||||
"platform": "!emscripten"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
15
externals/vcpkg/ports/boost-asio/windows_alloca_header.patch
vendored
Executable file
15
externals/vcpkg/ports/boost-asio/windows_alloca_header.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/include/boost/asio/detail/impl/socket_ops.ipp b/include/boost/asio/detail/impl/socket_ops.ipp
|
||||
index 7d7c31f..d2cd468 100644
|
||||
--- a/include/boost/asio/detail/impl/socket_ops.ipp
|
||||
+++ b/include/boost/asio/detail/impl/socket_ops.ipp
|
||||
@@ -27,6 +27,10 @@
|
||||
#include <boost/asio/detail/socket_ops.hpp>
|
||||
#include <boost/asio/error.hpp>
|
||||
|
||||
+#if defined(BOOST_ASIO_WINDOWS)
|
||||
+#include <malloc.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
||||
# include <codecvt>
|
||||
# include <locale>
|
||||
Reference in New Issue
Block a user