mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
30
package/libndp/0001-ndptool.c-Fix-musl-build.patch
Normal file
30
package/libndp/0001-ndptool.c-Fix-musl-build.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From 561f80b9a848be923f37bf1afedbecf92da3b2e7 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sat, 30 Jan 2016 16:36:39 +0100
|
||||
Subject: [PATCH 1/1] ndptool.c: Fix musl build
|
||||
|
||||
Fixes a build issue with the musl C library
|
||||
http://autobuild.buildroot.net/results/d42/d42bebe51bbec38f131840b6bbefdc162f0ad194/build-end.log
|
||||
|
||||
Patch sent upstream: https://github.com/jpirko/libndp/pull/7
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
utils/ndptool.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/utils/ndptool.c b/utils/ndptool.c
|
||||
index 04ec4e1..c6ef48c 100644
|
||||
--- a/utils/ndptool.c
|
||||
+++ b/utils/ndptool.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
+#include <sys/select.h>
|
||||
#include <ndp.h>
|
||||
|
||||
enum verbosity_level {
|
||||
--
|
||||
2.7.0.rc3
|
||||
|
||||
8
package/libndp/Config.in
Normal file
8
package/libndp/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_LIBNDP
|
||||
bool "libndp"
|
||||
help
|
||||
This package contains a library which provides a wrapper
|
||||
for IPv6 Neighbor Discovery Protocol. It also provides a tool
|
||||
named ndptool for sending and receiving NDP messages.
|
||||
|
||||
https://github.com/jpirko/libndp
|
||||
3
package/libndp/libndp.hash
Normal file
3
package/libndp/libndp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 565d6c4167f83ec697c762ea002f23e8f0b00828d0749b1ce928f068543e5aad libndp-1.6.tar.gz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
14
package/libndp/libndp.mk
Normal file
14
package/libndp/libndp.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# libndp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNDP_VERSION = 1.6
|
||||
LIBNDP_SITE = $(call github,jpirko,libndp,v$(LIBNDP_VERSION))
|
||||
LIBNDP_LICENSE = LGPL-2.1+
|
||||
LIBNDP_LICENSE_FILES = COPYING
|
||||
LIBNDP_AUTORECONF = YES
|
||||
LIBNDP_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user