From: Jo-Philipp Wich Date: Wed, 17 Jun 2015 16:27:00 +0000 (+0200) Subject: keepalived: fix musl compatibility X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=508e19a19055faa5f8187203fa309f49708afb58;p=openwrt-packages.git keepalived: fix musl compatibility - Add missing sys/types.h include to provide u_short type under musl Signed-off-by: Jo-Philipp Wich --- diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile index 04a041fa0..b68c726bc 100644 --- a/net/keepalived/Makefile +++ b/net/keepalived/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=keepalived PKG_VERSION:=1.2.16 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= http://www.keepalived.org/software diff --git a/net/keepalived/patches/100-musl-compat.patch b/net/keepalived/patches/100-musl-compat.patch new file mode 100644 index 000000000..9668c2bb2 --- /dev/null +++ b/net/keepalived/patches/100-musl-compat.patch @@ -0,0 +1,10 @@ +--- a/lib/utils.h ++++ b/lib/utils.h +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #include + #include +