From 32e107f0ba9c7ef9d2170319c8fc14cc4525b850 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 10 May 2009 13:36:28 +0000 Subject: [PATCH] [packages] keepalived: fix vrrp support (#5095) git-svn-id: svn://svn.openwrt.org/openwrt/packages@15751 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/keepalived/Makefile | 1 - .../patches/010-cross_compile_force_vrrp_on.patch | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/keepalived/patches/010-cross_compile_force_vrrp_on.patch diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile index bcf312bd8..80e4d0697 100644 --- a/net/keepalived/Makefile +++ b/net/keepalived/Makefile @@ -48,7 +48,6 @@ CONFIGURE_ARGS+= \ CONFIGURE_VARS+= \ ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes \ - VRRP_SUPPORT=yes \ define Build/Compile rm -rf $(PKG_INSTALL_DIR) diff --git a/net/keepalived/patches/010-cross_compile_force_vrrp_on.patch b/net/keepalived/patches/010-cross_compile_force_vrrp_on.patch new file mode 100644 index 000000000..bb8d72a44 --- /dev/null +++ b/net/keepalived/patches/010-cross_compile_force_vrrp_on.patch @@ -0,0 +1,12 @@ +diff -ur keepalived-1.1.15/configure keepalived-1.1.15.mod/configure +--- keepalived-1.1.15/configure 2006-10-10 05:20:35.000000000 -0400 ++++ keepalived-1.1.15.mod/configure 2009-05-08 04:52:13.000000000 -0400 +@@ -3928,7 +3928,7 @@ + + + +-VRRP_SUPPORT="_WITHOUT_VRRP_" ++VRRP_SUPPORT="_WITH_VRRP_" + if test "$enable_vrrp" != "no"; then + echo "$as_me:$LINENO: checking for kernel netlink support" >&5 + echo $ECHO_N "checking for kernel netlink support... $ECHO_C" >&6