diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-31 16:26:45 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-12 10:55:07 -0400 |
commit | 0ede604e78bc88c654b596e825b2bca1e687c398 (patch) | |
tree | a8d68981d4551b8cc7eac6f602b247019bd9cff3 /meta-networking/recipes-netkit | |
parent | 3f8e49845026ad14aabba76685540e40b8e57b70 (diff) | |
download | meta-openembedded-0ede604e78bc88c654b596e825b2bca1e687c398.tar.gz |
netkit-tftp: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-netkit')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch | 27 | ||||
-rw-r--r-- | meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb | 7 |
2 files changed, 31 insertions, 3 deletions
diff --git a/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch new file mode 100644 index 000000000..78936907f --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp/0001-tftp-Include-missing-fcntl.h.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From fa57e161fc953264a75d50a787cb83983e60acc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 30 Aug 2017 18:30:02 -0700 | ||
4 | Subject: [PATCH] tftp: Include missing fcntl.h | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | tftp/main.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/tftp/main.c b/tftp/main.c | ||
14 | index 8c54843..5c9b698 100644 | ||
15 | --- a/tftp/main.c | ||
16 | +++ b/tftp/main.c | ||
17 | @@ -63,6 +63,7 @@ char main_rcsid[] = | ||
18 | #include <ctype.h> | ||
19 | #include <netdb.h> | ||
20 | #include <unistd.h> | ||
21 | +#include <fcntl.h> | ||
22 | |||
23 | #include "tftpsubs.h" /* for mysignal() */ | ||
24 | |||
25 | -- | ||
26 | 2.14.1 | ||
27 | |||
diff --git a/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb index 67a541d25..92c13e850 100644 --- a/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb +++ b/meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb | |||
@@ -6,9 +6,10 @@ DEPENDS = "tcp-wrappers" | |||
6 | LIC_FILES_CHKSUM = "file://tftp/tftp.c;beginline=2;endline=3;md5=84d2cfe1e60863a7d82648734ba4d30c" | 6 | LIC_FILES_CHKSUM = "file://tftp/tftp.c;beginline=2;endline=3;md5=84d2cfe1e60863a7d82648734ba4d30c" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \ | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \ |
9 | ${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}-18.diff.gz;name=patch18 \ | 9 | ${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}-18.diff.gz;name=patch18 \ |
10 | file://tftp.conf \ | 10 | file://tftp.conf \ |
11 | " | 11 | file://0001-tftp-Include-missing-fcntl.h.patch \ |
12 | " | ||
12 | 13 | ||
13 | SRC_URI[archive.md5sum] = "b7262c798e2ff50e29c2ff50dfd8d6a8" | 14 | SRC_URI[archive.md5sum] = "b7262c798e2ff50e29c2ff50dfd8d6a8" |
14 | SRC_URI[archive.sha256sum] = "3a43c0010d4e61f412563fd83769d4667d8b8e82903526d21cb9205fe55ad14d" | 15 | SRC_URI[archive.sha256sum] = "3a43c0010d4e61f412563fd83769d4667d8b8e82903526d21cb9205fe55ad14d" |