mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
[shiftmedia-libgnutls] Fix mkdir too many arguments (#40739)
This commit is contained in:
parent
a1f4ba49f7
commit
3f929a1bdf
13
ports/shiftmedia-libgnutls/mkdir.patch
Normal file
13
ports/shiftmedia-libgnutls/mkdir.patch
Normal 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*/
|
@ -11,6 +11,7 @@ vcpkg_from_github(
|
|||||||
pkgconfig.patch
|
pkgconfig.patch
|
||||||
ssize_t_already_define.patch
|
ssize_t_already_define.patch
|
||||||
fix-warnings.patch
|
fix-warnings.patch
|
||||||
|
mkdir.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${SOURCE_PATH}/devel/perlasm")
|
file(REMOVE_RECURSE "${SOURCE_PATH}/devel/perlasm")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "shiftmedia-libgnutls",
|
"name": "shiftmedia-libgnutls",
|
||||||
"version": "3.8.4",
|
"version": "3.8.4",
|
||||||
"port-version": 2,
|
"port-version": 3,
|
||||||
"description": "Unofficial GnuTLS fork with added custom native Visual Studio project build tools. ",
|
"description": "Unofficial GnuTLS fork with added custom native Visual Studio project build tools. ",
|
||||||
"homepage": "https://github.com/ShiftMediaProject/gnutls",
|
"homepage": "https://github.com/ShiftMediaProject/gnutls",
|
||||||
"license": "LGPL-2.1-only",
|
"license": "LGPL-2.1-only",
|
||||||
|
@ -8214,7 +8214,7 @@
|
|||||||
},
|
},
|
||||||
"shiftmedia-libgnutls": {
|
"shiftmedia-libgnutls": {
|
||||||
"baseline": "3.8.4",
|
"baseline": "3.8.4",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"shiftmedia-libgpg-error": {
|
"shiftmedia-libgpg-error": {
|
||||||
"baseline": "1.45",
|
"baseline": "1.45",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "b18bd4e582995b852d1b9eac4b79805d84aaa656",
|
||||||
|
"version": "3.8.4",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "1d4b38dbf344dc537c0f0e8fae77706d09ef0126",
|
"git-tree": "1d4b38dbf344dc537c0f0e8fae77706d09ef0126",
|
||||||
"version": "3.8.4",
|
"version": "3.8.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user