summaryrefslogtreecommitdiff
path: root/community/keepalived/ip_vs_moved.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-07 23:14:52 +0000
committerroot <root@rshg054.dnsready.net>2011-12-07 23:14:52 +0000
commit6f9a9504db6338f0c35c4ca70bad42965b74791a (patch)
tree8cd9006f99ed08350063a734502b77e1d0ee7db4 /community/keepalived/ip_vs_moved.patch
parent8736f458a17a03cf79a763a0c8122f93162fed71 (diff)
Wed Dec 7 23:14:52 UTC 2011
Diffstat (limited to 'community/keepalived/ip_vs_moved.patch')
-rw-r--r--community/keepalived/ip_vs_moved.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/keepalived/ip_vs_moved.patch b/community/keepalived/ip_vs_moved.patch
new file mode 100644
index 000000000..e27873810
--- /dev/null
+++ b/community/keepalived/ip_vs_moved.patch
@@ -0,0 +1,23 @@
+--- keepalived-1.2.2/configure 2011-01-06 01:51:33.000000000 +0100
++++ keepalived-1.2.2.orig/configure 2011-11-24 19:36:32.051486626 +0100
+@@ -3973,7 +3973,7 @@
+
+ IPVS_SUPPORT="_WITHOUT_LVS_"
+ if test "$enable_lvs" != "no"; then
+- ac_fn_c_check_header_mongrel "$LINENO" "net/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
++ ac_fn_c_check_header_mongrel "$LINENO" "linux/ip_vs.h" "ac_cv_header_net_ip_vs_h" "$ac_includes_default"
+ if test "x$ac_cv_header_net_ip_vs_h" = x""yes; then :
+ IPVS_SUPPORT="_WITH_LVS_"
+ else
+diff -ru keepalived-1.2.2/configure.in keepalived-1.2.2.orig/configure.in
+--- keepalived-1.2.2/configure.in 2011-01-06 01:51:30.000000000 +0100
++++ keepalived-1.2.2.orig/configure.in 2011-11-24 19:36:11.797860077 +0100
+@@ -124,7 +124,7 @@
+ dnl ----[ Checks for LVS and VRRP support ]----
+ IPVS_SUPPORT="_WITHOUT_LVS_"
+ if test "$enable_lvs" != "no"; then
+- AC_CHECK_HEADER([net/ip_vs.h],
++ AC_CHECK_HEADER([linux/ip_vs.h],
+ [IPVS_SUPPORT="_WITH_LVS_"],
+ [
+ IPVS_SUPPORT="_WITHOUT_LVS_"