summaryrefslogtreecommitdiff
path: root/community-testing/keepalived/ip_vs_moved.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
committerroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
commit4fc59478d1180fd7984003f5b1645fe40954299f (patch)
tree35f3d7dada2cfcb8194cdaed447c431664746934 /community-testing/keepalived/ip_vs_moved.patch
parent76774d40da5ce246c9f2178fdf937706d99af4b2 (diff)
Fri Feb 17 19:20:30 UTC 2012
Diffstat (limited to 'community-testing/keepalived/ip_vs_moved.patch')
-rw-r--r--community-testing/keepalived/ip_vs_moved.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community-testing/keepalived/ip_vs_moved.patch b/community-testing/keepalived/ip_vs_moved.patch
new file mode 100644
index 000000000..e27873810
--- /dev/null
+++ b/community-testing/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_"