summaryrefslogtreecommitdiff
path: root/package/ipvsadm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-11 12:47:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-11 12:47:48 +0100
commita6bffe8d51139834bbb15c1666b1da05ee5c0c81 (patch)
tree850c37892a24169a2d1becb86fd496dd211770a3 /package/ipvsadm
parentd1f4029d2064bae748d6768368dc1f8d30890ba8 (diff)
fix musl compile, add missing patch for ipsec-tools
Diffstat (limited to 'package/ipvsadm')
-rw-r--r--package/ipvsadm/Makefile2
-rw-r--r--package/ipvsadm/patches/patch-libipvs_ip_vs_h10
2 files changed, 11 insertions, 1 deletions
diff --git a/package/ipvsadm/Makefile b/package/ipvsadm/Makefile
index 09004b2e3..1f992de47 100644
--- a/package/ipvsadm/Makefile
+++ b/package/ipvsadm/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= ipvsadm
PKG_VERSION:= 1.26
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= eac3ba3f62cd4dea2da353aeddd353a8
PKG_DESCR:= IPVS admin utility
PKG_SECTION:= net
diff --git a/package/ipvsadm/patches/patch-libipvs_ip_vs_h b/package/ipvsadm/patches/patch-libipvs_ip_vs_h
new file mode 100644
index 000000000..479b8ab48
--- /dev/null
+++ b/package/ipvsadm/patches/patch-libipvs_ip_vs_h
@@ -0,0 +1,10 @@
+--- ipvsadm-1.26.orig/libipvs/ip_vs.h 2011-02-07 03:38:57.000000000 +0100
++++ ipvsadm-1.26/libipvs/ip_vs.h 2014-02-11 12:45:07.000000000 +0100
+@@ -10,6 +10,7 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+ #include <linux/types.h> /* For __beXX types in userland */
++#include <sys/types.h>
+
+ #ifdef LIBIPVS_USE_NL
+ #include <netlink/netlink.h>