[shiftmedia-libgnutls] Fix mkdir too many arguments (#40739)

This commit is contained in:
talregev 2024-09-03 21:56:21 +03:00 committed by GitHub
parent a1f4ba49f7
commit 3f929a1bdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/SMP/unistd.h b/SMP/unistd.h
index b54d4be15..273204e00 100644
--- a/SMP/unistd.h
+++ b/SMP/unistd.h
@@ -32,6 +32,8 @@
#include <direct.h>
#include <fcntl.h>
+#define mkdir(path, mode) _mkdir(path)
+
#define R_OK 4 /* Test for read permission. */
#define W_OK 2 /* Test for write permission. */
//#define X_OK 1 /* execute permission - unsupported in windows*/

View File

@ -11,6 +11,7 @@ vcpkg_from_github(
pkgconfig.patch
ssize_t_already_define.patch
fix-warnings.patch
mkdir.patch
)
file(REMOVE_RECURSE "${SOURCE_PATH}/devel/perlasm")

View File

@ -1,7 +1,7 @@
{
"name": "shiftmedia-libgnutls",
"version": "3.8.4",
"port-version": 2,
"port-version": 3,
"description": "Unofficial GnuTLS fork with added custom native Visual Studio project build tools. ",
"homepage": "https://github.com/ShiftMediaProject/gnutls",
"license": "LGPL-2.1-only",

View File

@ -8214,7 +8214,7 @@
},
"shiftmedia-libgnutls": {
"baseline": "3.8.4",
"port-version": 2
"port-version": 3
},
"shiftmedia-libgpg-error": {
"baseline": "1.45",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b18bd4e582995b852d1b9eac4b79805d84aaa656",
"version": "3.8.4",
"port-version": 3
},
{
"git-tree": "1d4b38dbf344dc537c0f0e8fae77706d09ef0126",
"version": "3.8.4",