aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/libndp/libndp/0001-include-sys-select.h-for-fd_-definitions.patch25
-rw-r--r--meta-oe/recipes-connectivity/libndp/libndp_1.6.bb4
2 files changed, 28 insertions, 1 deletions
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 00000000000..bafd916d2fc
--- /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@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@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 a35dff8b772..e06ff7f99c9 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"