aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mysecureshell/0001-include-types.h.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-06 01:11:02 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-09 09:18:42 +0000
commitffebc4c48b3f06112d4e65cd5e80646a78a08f3b (patch)
treed68b7733b40111126e3eb40f78457a92fa5a6740 /testing/mysecureshell/0001-include-types.h.patch
parentd37d8fe99be7e138bfc24144d24200e8e1e9ed3f (diff)
downloadaports-ffebc4c48b3f06112d4e65cd5e80646a78a08f3b.tar.bz2
aports-ffebc4c48b3f06112d4e65cd5e80646a78a08f3b.tar.xz
testing/mysecureshell: new abuild
https://github.com/mysecureshell/mysecureshell A solution which has been made to bring more features to sftp/scp protocol given by OpenSSH.
Diffstat (limited to 'testing/mysecureshell/0001-include-types.h.patch')
-rw-r--r--testing/mysecureshell/0001-include-types.h.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/testing/mysecureshell/0001-include-types.h.patch b/testing/mysecureshell/0001-include-types.h.patch
new file mode 100644
index 0000000000..03ad2f50b2
--- /dev/null
+++ b/testing/mysecureshell/0001-include-types.h.patch
@@ -0,0 +1,66 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Fri, 6 May 2016 00:09:09 +0200
+Subject: [PATCH] Fix missing include sys/types.h
+
+Without this patch compilation on musl libc fails with:
+
+ unknown type name 'u_int32_t'
+ unknown type name 'u_int64_t'
+---
+ SftpServer/Encode.c | 1 +
+ SftpServer/Handle.c | 1 +
+ SftpState/Main.c | 1 +
+ SftpWho/Main.c | 1 +
+ 4 files changed, 4 insertions(+)
+
+diff --git a/SftpServer/Encode.c b/SftpServer/Encode.c
+index a41c630..31a6b90 100644
+--- a/SftpServer/Encode.c
++++ b/SftpServer/Encode.c
+@@ -20,6 +20,7 @@
+ #include "../config.h"
+ #include <errno.h>
+ #include <sys/ioctl.h>
++#include <sys/types.h>
+ #include <grp.h>
+ #include <pwd.h>
+ #include <stdlib.h>
+diff --git a/SftpServer/Handle.c b/SftpServer/Handle.c
+index 5f795ac..2f367be 100644
+--- a/SftpServer/Handle.c
++++ b/SftpServer/Handle.c
+@@ -18,6 +18,7 @@
+ */
+
+ #include "../config.h"
++#include <sys/types.h>
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+diff --git a/SftpState/Main.c b/SftpState/Main.c
+index 0e9398f..70cbb88 100644
+--- a/SftpState/Main.c
++++ b/SftpState/Main.c
+@@ -18,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+ #include "../config.h"
++#include <sys/types.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <stdio.h>
+diff --git a/SftpWho/Main.c b/SftpWho/Main.c
+index 455da4a..25dcbf3 100644
+--- a/SftpWho/Main.c
++++ b/SftpWho/Main.c
+@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+ #include "../config.h"
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <time.h>
+ #include <stdlib.h>
+--
+2.8.1
+