[oe-commits] [meta-openembedded] 14/38: libndp: Include sys/select.h in ndptool.c

git at git.openembedded.org git at git.openembedded.org
Wed Mar 29 10:09:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 2d4595ff281146b2206b3a99925be01a7b70a0f5
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Mar 22 11:45:29 2017 -0700

    libndp: Include sys/select.h in ndptool.c
    
    Fixes build with musl
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 ...-include-sys-select.h-for-fd_-definitions.patch | 25 ++++++++++++++++++++++
 meta-oe/recipes-connectivity/libndp/libndp_1.6.bb  |  4 +++-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/libndp/libndp/0001-include-sys-select.h-for-fd_-definitions.patch b/meta-oe/recipes-connectivity/libndp/libndp/0001-include-sys-select.h-for-fd_-definitions.patch
new file mode 100644
index 0000000..bafd916
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libndp/libndp/0001-include-sys-select.h-for-fd_-definitions.patch
@@ -0,0 +1,25 @@
+From 33150de2d77ffb645da1a043933b12ddc0143cea Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem at gmail.com>
+Date: Tue, 21 Mar 2017 18:59:03 -0700
+Subject: [PATCH] include sys/select.h for fd_* definitions
+
+Signed-off-by: Khem Raj <raj.khem at gmail.com>
+---
+ utils/ndptool.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/utils/ndptool.c b/utils/ndptool.c
+index 1d96f4c..0fd4c4d 100644
+--- a/utils/ndptool.c
++++ b/utils/ndptool.c
+@@ -23,6 +23,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
++#include <sys/select.h>
+ #include <net/if.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+-- 
+2.12.0
+
diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
index a35dff8..e06ff7f 100644
--- a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
+++ b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
@@ -3,7 +3,9 @@ SUMMARY = "Library for IPv6 Neighbor Discovery Protocol"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "http://libndp.org/files/${BPN}-${PV}.tar.gz"
+SRC_URI = "http://libndp.org/files/${BPN}-${PV}.tar.gz \
+           file://0001-include-sys-select.h-for-fd_-definitions.patch \
+           "
 SRC_URI[md5sum] = "1e54d26bcb4a4110bc3f90c5dd04f1a7"
 SRC_URI[sha256sum] = "0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list