mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
libndp: update to 1.8
Added GCC 14 patch as well. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -8,20 +8,20 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libndp
|
||||
PKG_VERSION:=1.7
|
||||
PKG_VERSION:=1.8
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=LGPL-2.1
|
||||
PKG_MAINTAINER:=Thomas Guyot-Sionnest <tguyot@gmail.com>
|
||||
PKG_CPE_ID:=cpe:/a:libndp:libndp
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://libndp.org/files/
|
||||
PKG_HASH:=2c480afbffb02792dbae3c13bbfb71d89f735562f2795cca0640ed3428b491b6
|
||||
PKG_HASH:=88ffb66ee2eb527f146f5c02f5ccbc38ba97d2b0d57eb46bfba488821ab0c02b
|
||||
|
||||
PKG_MAINTAINER:=Thomas Guyot-Sionnest <tguyot@gmail.com>
|
||||
PKG_LICENSE:=LGPL-2.1-or-later
|
||||
PKG_CPE_ID:=cpe:/a:libndp:libndp
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
11
net/libndp/patches/010-gcc14.patch
Normal file
11
net/libndp/patches/010-gcc14.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/libndp/libndp.c
|
||||
+++ b/libndp/libndp.c
|
||||
@@ -209,7 +209,7 @@ static int mysendto6(int sockfd, void *b
|
||||
memcpy(&sin6.sin6_addr, addr, sizeof(sin6.sin6_addr));
|
||||
sin6.sin6_scope_id = ifindex;
|
||||
resend:
|
||||
- ret = sendto(sockfd, buf, buflen, flags, &sin6, sizeof(sin6));
|
||||
+ ret = sendto(sockfd, buf, buflen, flags, (const struct sockaddr *)&sin6, sizeof(sin6));
|
||||
if (ret == -1) {
|
||||
switch(errno) {
|
||||
case EINTR:
|
||||
Reference in New Issue
Block a user