mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:01:48 +08:00
[usrsctp] Fix mingw (#40564)
This commit is contained in:
parent
ed7e2a7cde
commit
bc09348780
13
ports/usrsctp/mingw.diff
Normal file
13
ports/usrsctp/mingw.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/usrsctplib/usrsctp.h b/usrsctplib/usrsctp.h
|
||||||
|
index b719290..3a4759c 100644
|
||||||
|
--- a/usrsctplib/usrsctp.h
|
||||||
|
+++ b/usrsctplib/usrsctp.h
|
||||||
|
@@ -61,6 +61,8 @@ extern "C" {
|
||||||
|
#ifdef _WIN32
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER >= 1600
|
||||||
|
#include <stdint.h>
|
||||||
|
+#elif __MINGW32__
|
||||||
|
+#include <stdint.h>
|
||||||
|
#elif defined(SCTP_STDINT_INCLUDE)
|
||||||
|
#include SCTP_STDINT_INCLUDE
|
||||||
|
#else
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
|||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
fix_export.patch
|
fix_export.patch
|
||||||
|
mingw.diff
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "usrsctp",
|
"name": "usrsctp",
|
||||||
"version": "0.9.5.0",
|
"version": "0.9.5.0",
|
||||||
"port-version": 3,
|
"port-version": 4,
|
||||||
"description": "A userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.",
|
"description": "A userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.",
|
||||||
"homepage": "https://github.com/sctplab/usrsctp",
|
"homepage": "https://github.com/sctplab/usrsctp",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
|
@ -9122,7 +9122,7 @@
|
|||||||
},
|
},
|
||||||
"usrsctp": {
|
"usrsctp": {
|
||||||
"baseline": "0.9.5.0",
|
"baseline": "0.9.5.0",
|
||||||
"port-version": 3
|
"port-version": 4
|
||||||
},
|
},
|
||||||
"utf8-range": {
|
"utf8-range": {
|
||||||
"baseline": "4.25.1",
|
"baseline": "4.25.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "558a19f0aec0cbbb2103876326c3e46455fb8d5f",
|
||||||
|
"version": "0.9.5.0",
|
||||||
|
"port-version": 4
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "7c30cd146c1f7b69d5a8f43fbb615e3bbb42b6ee",
|
"git-tree": "7c30cd146c1f7b69d5a8f43fbb615e3bbb42b6ee",
|
||||||
"version": "0.9.5.0",
|
"version": "0.9.5.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user