libndp: Upgrade to 1.7

Upgrade libndp to 1.7 and remove the backported
patch 0001-include-sys-select.h-for-fd_-definitions.patch

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu 2018-06-27 02:49:13 -07:00 committed by Khem Raj
parent b2bd3b08d6
commit b951fc75d3
2 changed files with 1 additions and 27 deletions

View File

@ -1,25 +0,0 @@
From 94e9a082d76414f82794b0c9817d0c24e3868275 Mon Sep 17 00:00:00 2001
From: Kylie McClain <somasis@exherbo.org>
Date: Sat, 21 May 2016 21:24:36 -0400
Subject: [PATCH] ndptool: Fix compilation on musl libc
FD_ZERO, fd_set, etc are defined within sys/select.h on musl.
Signed-off-by: Kylie McClain <somasis@exherbo.org>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
utils/ndptool.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/ndptool.c b/utils/ndptool.c
index 1d96f4c..96479fa 100644
--- a/utils/ndptool.c
+++ b/utils/ndptool.c
@@ -28,6 +28,7 @@
#include <arpa/inet.h>
#include <errno.h>
#include <ndp.h>
+#include <sys/select.h>
enum verbosity_level {
VERB1,

View File

@ -4,10 +4,9 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/jpirko/libndp \
file://0001-include-sys-select.h-for-fd_-definitions.patch \
"
# tag for v1.6
SRCREV = "2f721c4ff519f38f46695a60d9f9d88f35bf3c1d"
SRCREV = "96674e7d4f4d569c2c961e865cc16152dfab5f09"
S = "${WORKDIR}/git"
inherit autotools