summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-netkit
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-08-31 16:26:45 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-09-12 10:55:07 -0400
commit0ede604e78bc88c654b596e825b2bca1e687c398 (patch)
treea8d68981d4551b8cc7eac6f602b247019bd9cff3 /meta-networking/recipes-netkit
parent3f8e49845026ad14aabba76685540e40b8e57b70 (diff)
downloadmeta-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.patch27
-rw-r--r--meta-networking/recipes-netkit/netkit-tftp/netkit-tftp_0.17.bb7
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 @@
1From fa57e161fc953264a75d50a787cb83983e60acc7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 30 Aug 2017 18:30:02 -0700
4Subject: [PATCH] tftp: Include missing fcntl.h
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 tftp/main.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/tftp/main.c b/tftp/main.c
14index 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--
262.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"
6LIC_FILES_CHKSUM = "file://tftp/tftp.c;beginline=2;endline=3;md5=84d2cfe1e60863a7d82648734ba4d30c" 6LIC_FILES_CHKSUM = "file://tftp/tftp.c;beginline=2;endline=3;md5=84d2cfe1e60863a7d82648734ba4d30c"
7 7
8SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.orig.tar.gz;name=archive \ 8SRC_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
13SRC_URI[archive.md5sum] = "b7262c798e2ff50e29c2ff50dfd8d6a8" 14SRC_URI[archive.md5sum] = "b7262c798e2ff50e29c2ff50dfd8d6a8"
14SRC_URI[archive.sha256sum] = "3a43c0010d4e61f412563fd83769d4667d8b8e82903526d21cb9205fe55ad14d" 15SRC_URI[archive.sha256sum] = "3a43c0010d4e61f412563fd83769d4667d8b8e82903526d21cb9205fe55ad14d"