From 45e1df34152889d3d774984f434aa171df929f64 Mon Sep 17 00:00:00 2001 From: Ahmed Yarub Hani Al Nuaimi Date: Mon, 13 Feb 2023 13:45:40 -0300 Subject: [PATCH] [libssh] Fix Android build (again) (#29577) * Fix libssh patch for Android * Update versions * Update versions --- ports/libssh/0004-file-permissions-constants.patch | 3 ++- ports/libssh/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/l-/libssh.json | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/libssh/0004-file-permissions-constants.patch b/ports/libssh/0004-file-permissions-constants.patch index bde0d29f48bbd5..1040f9b7444e5b 100644 --- a/ports/libssh/0004-file-permissions-constants.patch +++ b/ports/libssh/0004-file-permissions-constants.patch @@ -1,12 +1,13 @@ diff --git a/src/misc.c b/src/misc.c --- a/src/misc.c (revision 9941e89f307e73352d887cac14e4e26b481a0a82) +++ b/src/misc.c (date 1675868320486) -@@ -24,6 +24,10 @@ +@@ -24,6 +24,11 @@ #include "config.h" +#ifdef __ANDROID__ +#define _S_IWRITE S_IWUSR ++#define S_IWRITE S_IWUSR +#endif + #ifndef _WIN32 diff --git a/ports/libssh/vcpkg.json b/ports/libssh/vcpkg.json index 6b45df9001851f..55bf4385e93003 100644 --- a/ports/libssh/vcpkg.json +++ b/ports/libssh/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libssh", "version": "0.10.4+20221123", - "port-version": 2, + "port-version": 3, "description": "libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side", "homepage": "https://www.libssh.org/", "license": "LGPL-2.1-only", diff --git a/versions/baseline.json b/versions/baseline.json index 8e1160398e0799..4d2e751fbb5897 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4414,7 +4414,7 @@ }, "libssh": { "baseline": "0.10.4+20221123", - "port-version": 2 + "port-version": 3 }, "libssh2": { "baseline": "1.10.0", diff --git a/versions/l-/libssh.json b/versions/l-/libssh.json index b175eb05d1f727..ad0f8d8d53298c 100644 --- a/versions/l-/libssh.json +++ b/versions/l-/libssh.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e15d10eb435fbd46abba95b50c8d47d2ff166603", + "version": "0.10.4+20221123", + "port-version": 3 + }, { "git-tree": "4c7fcb482d4861f5656bfbedcfdab39b67a7813f", "version": "0.10.4+20221123",