diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libssh/0004-file-permissions-constants.patch | |
Diffstat (limited to 'vcpkg/ports/libssh/0004-file-permissions-constants.patch')
| -rw-r--r-- | vcpkg/ports/libssh/0004-file-permissions-constants.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/libssh/0004-file-permissions-constants.patch b/vcpkg/ports/libssh/0004-file-permissions-constants.patch new file mode 100644 index 0000000..0177838 --- /dev/null +++ b/vcpkg/ports/libssh/0004-file-permissions-constants.patch @@ -0,0 +1,16 @@ +diff --git a/src/misc.c b/src/misc.c +index 774211f..33d37b4 100644 +--- a/src/misc.c ++++ b/src/misc.c +@@ -24,6 +24,11 @@ + + #include "config.h" + ++#ifdef __ANDROID__ ++#define _S_IWRITE S_IWUSR ++#define S_IWRITE S_IWUSR ++#endif ++ + #ifndef _WIN32 + /* This is needed for a standard getpwuid_r on opensolaris */ + #define _POSIX_PTHREAD_SEMANTICS |