diff --git a/ports/usrsctp/mingw.diff b/ports/usrsctp/mingw.diff new file mode 100644 index 0000000000..ae66b7f726 --- /dev/null +++ b/ports/usrsctp/mingw.diff @@ -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 ++#elif __MINGW32__ ++#include + #elif defined(SCTP_STDINT_INCLUDE) + #include SCTP_STDINT_INCLUDE + #else diff --git a/ports/usrsctp/portfile.cmake b/ports/usrsctp/portfile.cmake index 4dba4cc159..d108f5cef4 100644 --- a/ports/usrsctp/portfile.cmake +++ b/ports/usrsctp/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_from_github( HEAD_REF master PATCHES fix_export.patch + mingw.diff ) vcpkg_cmake_configure( diff --git a/ports/usrsctp/vcpkg.json b/ports/usrsctp/vcpkg.json index a8a506196f..a3bf7e8324 100644 --- a/ports/usrsctp/vcpkg.json +++ b/ports/usrsctp/vcpkg.json @@ -1,7 +1,7 @@ { "name": "usrsctp", "version": "0.9.5.0", - "port-version": 3, + "port-version": 4, "description": "A userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.", "homepage": "https://github.com/sctplab/usrsctp", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index d8326f1200..5d5d40c979 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9122,7 +9122,7 @@ }, "usrsctp": { "baseline": "0.9.5.0", - "port-version": 3 + "port-version": 4 }, "utf8-range": { "baseline": "4.25.1", diff --git a/versions/u-/usrsctp.json b/versions/u-/usrsctp.json index 2060e07dd7..aae9a80b02 100644 --- a/versions/u-/usrsctp.json +++ b/versions/u-/usrsctp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "558a19f0aec0cbbb2103876326c3e46455fb8d5f", + "version": "0.9.5.0", + "port-version": 4 + }, { "git-tree": "7c30cd146c1f7b69d5a8f43fbb615e3bbb42b6ee", "version": "0.9.5.0",