From ce1781155dfd2ea86ee8dbe70492a77792dd00a4 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 27 Nov 2019 23:33:24 -0800 Subject: [PATCH] addrwatch: Add missing limits header for PATH_MAX Fixes compilation on musl. Signed-off-by: Rosen Penev (cherry picked from commit 8003eea2b9e70cc2850e9489f47403c86586bdcd) Signed-off-by: Jeffery To --- net/addrwatch/Makefile | 2 +- net/addrwatch/patches/010-limits.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/addrwatch/patches/010-limits.patch diff --git a/net/addrwatch/Makefile b/net/addrwatch/Makefile index c396990558..03602e2f5f 100644 --- a/net/addrwatch/Makefile +++ b/net/addrwatch/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=addrwatch PKG_VERSION:=1.0.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/fln/addrwatch/tar.gz/v$(PKG_VERSION)? diff --git a/net/addrwatch/patches/010-limits.patch b/net/addrwatch/patches/010-limits.patch new file mode 100644 index 0000000000..be8fa7289f --- /dev/null +++ b/net/addrwatch/patches/010-limits.patch @@ -0,0 +1,10 @@ +--- a/src/addrwatch.c ++++ b/src/addrwatch.c +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- 2.30.2