diff options
-rw-r--r-- | meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch | 30 | ||||
-rw-r--r-- | meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb | 7 |
2 files changed, 34 insertions, 3 deletions
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch new file mode 100644 index 000000000..8376603ea --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp/0001-ftp-include-sys-types.h-for-u_long.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 2ee0c51d81a0a08d64b64ab624074e5f7cd9615a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 15 Jul 2017 00:07:32 -0700 | ||
4 | Subject: [PATCH] ftp: include sys/types.h for u_long | ||
5 | |||
6 | fixes | ||
7 | ftp.c:1091:2: error: unknown type name 'u_long'; did you mean 'long'? | ||
8 | u_long a1,a2,a3,a4,p1,p2; | ||
9 | ^~~~~~ | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | ftp/ftp.c | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/ftp/ftp.c b/ftp/ftp.c | ||
17 | index 7a56af6..5dcb513 100644 | ||
18 | --- a/ftp/ftp.c | ||
19 | +++ b/ftp/ftp.c | ||
20 | @@ -43,6 +43,7 @@ char ftp_rcsid[] = | ||
21 | #include <sys/socket.h> | ||
22 | #include <sys/time.h> | ||
23 | #include <sys/file.h> | ||
24 | +#include <sys/types.h> | ||
25 | |||
26 | #include <netinet/in.h> | ||
27 | #include <netinet/ip.h> | ||
28 | -- | ||
29 | 2.13.3 | ||
30 | |||
diff --git a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb index 37f5bc725..394a69e62 100644 --- a/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb | |||
@@ -6,9 +6,10 @@ LICENSE = "BSD" | |||
6 | LIC_FILES_CHKSUM = "file://ftp/ftp.c;beginline=2;endline=3;md5=2d40a75a50d83b8f6317b3f53db72bfa" | 6 | LIC_FILES_CHKSUM = "file://ftp/ftp.c;beginline=2;endline=3;md5=2d40a75a50d83b8f6317b3f53db72bfa" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}.orig.tar.gz;name=archive \ | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}.orig.tar.gz;name=archive \ |
9 | ${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}-31.debian.tar.xz;name=patch31 \ | 9 | ${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}-31.debian.tar.xz;name=patch31 \ |
10 | file://Add_ARG_MAX_define.patch \ | 10 | file://Add_ARG_MAX_define.patch \ |
11 | " | 11 | file://0001-ftp-include-sys-types.h-for-u_long.patch \ |
12 | " | ||
12 | 13 | ||
13 | SRC_URI[archive.md5sum] = "94441610c9b86ef45c4c6ec609444060" | 14 | SRC_URI[archive.md5sum] = "94441610c9b86ef45c4c6ec609444060" |
14 | SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993dd585798b700349" | 15 | SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993dd585798b700349" |