mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[boost-asio] fix on Windows (#7267)
This commit is contained in:
parent
2467136b31
commit
54b39598e1
@ -1,6 +1,6 @@
|
|||||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||||
Source: boost-asio
|
Source: boost-asio
|
||||||
Version: 1.70.0-1
|
Version: 1.70.0-2
|
||||||
Build-Depends: boost-array, boost-assert, boost-bind, boost-chrono, boost-compatibility, boost-config, boost-coroutine (!uwp), boost-date-time, boost-detail, boost-function, boost-integer, boost-regex, boost-smart-ptr, boost-system, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, openssl
|
Build-Depends: boost-array, boost-assert, boost-bind, boost-chrono, boost-compatibility, boost-config, boost-coroutine (!uwp), boost-date-time, boost-detail, boost-function, boost-integer, boost-regex, boost-smart-ptr, boost-system, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, openssl
|
||||||
Homepage: https://github.com/boostorg/asio
|
Homepage: https://github.com/boostorg/asio
|
||||||
Description: Boost asio module
|
Description: Boost asio module
|
||||||
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
|||||||
REF boost-1.70.0
|
REF boost-1.70.0
|
||||||
SHA512 394c7e557d97bbb8b98453846a098c8ab7f4eb92d752bd4089d2020e0d5060cff1e53f5e50b2f8910e64b66c934b2bde4a7137bd1a6050e8b1279c2e4576b2e5
|
SHA512 394c7e557d97bbb8b98453846a098c8ab7f4eb92d752bd4089d2020e0d5060cff1e53f5e50b2f8910e64b66c934b2bde4a7137bd1a6050e8b1279c2e4576b2e5
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
|
PATCHES windows_alloca_header.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
||||||
|
15
ports/boost-asio/windows_alloca_header.patch
Normal file
15
ports/boost-asio/windows_alloca_header.patch
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user