Upstream backport. Signed-off-by: Rosen Penev <[email protected]> --- package/network/services/lldpd/Makefile | 2 +- .../services/lldpd/patches/010-limits.patch | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 package/network/services/lldpd/patches/010-limits.patch
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 5b36155b71..eb1fe6539d 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lldpd PKG_VERSION:=1.0.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://media.luffy.cx/files/lldpd diff --git a/package/network/services/lldpd/patches/010-limits.patch b/package/network/services/lldpd/patches/010-limits.patch new file mode 100644 index 0000000000..26d5078669 --- /dev/null +++ b/package/network/services/lldpd/patches/010-limits.patch @@ -0,0 +1,21 @@ +From b2eebb31fc21b5ce12ef8944b50088119f1b9427 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <[email protected]> +Date: Mon, 25 Mar 2019 18:43:03 +0100 +Subject: [PATCH] priv: include limits.h for PATH_MAX + +--- + src/daemon/priv.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/daemon/priv.c b/src/daemon/priv.c +index f4d6bdf4..ba5ae58c 100644 +--- a/src/daemon/priv.c ++++ b/src/daemon/priv.c +@@ -27,6 +27,7 @@ + #include <unistd.h> + #include <signal.h> + #include <errno.h> ++#include <limits.h> + #include <sys/wait.h> + #include <sys/stat.h> + #include <sys/socket.h> -- 2.24.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
