aboutsummaryrefslogtreecommitdiffstats
path: root/community/mysecureshell/0001-include-types.h.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-27 16:00:44 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-27 16:00:44 +0100
commit80850b5aa47aef84c29e8bce9bb033811884f282 (patch)
tree9ce22510c73525d4fb1ed166c116f537a99dbe55 /community/mysecureshell/0001-include-types.h.patch
parentc04a29686c802893e354090905ed880b821954a1 (diff)
downloadaports-80850b5aa47aef84c29e8bce9bb033811884f282.tar.bz2
aports-80850b5aa47aef84c29e8bce9bb033811884f282.tar.xz
community/mysecureshell: move from testing
Diffstat (limited to 'community/mysecureshell/0001-include-types.h.patch')
-rw-r--r--community/mysecureshell/0001-include-types.h.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/community/mysecureshell/0001-include-types.h.patch b/community/mysecureshell/0001-include-types.h.patch
new file mode 100644
index 0000000000..03ad2f50b2
--- /dev/null
+++ b/community/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
+