summaryrefslogtreecommitdiffstats
path: root/lxc-0.6.3.netlink-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lxc-0.6.3.netlink-fix.patch')
-rw-r--r--lxc-0.6.3.netlink-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/lxc-0.6.3.netlink-fix.patch b/lxc-0.6.3.netlink-fix.patch
new file mode 100644
index 0000000..e2beceb
--- /dev/null
+++ b/lxc-0.6.3.netlink-fix.patch
@@ -0,0 +1,19 @@
+diff -up lxc-0.6.3/configure.ac.orig lxc-0.6.3/configure.ac
+--- lxc-0.6.3/configure.ac.orig 2009-07-28 00:59:14.737542987 -0400
++++ lxc-0.6.3/configure.ac 2009-07-28 01:03:22.907540449 -0400
+@@ -25,10 +25,11 @@ AS_AC_EXPAND(LOCALSTATEDIR, $localstated
+ AS_AC_EXPAND(LXCPATH, "${localstatedir}/lib/lxc")
+ AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
+
+-AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h], [], AC_MSG_ERROR([netlink headers not found. Please install the linux kernel headers.]),
+-[#include <linux/types.h>
+-#include <bits/sockaddr.h>
+-#include <linux/socket.h>])
++AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],
++ [],
++ AC_MSG_ERROR([netlink headers not found. Please install the linux kernel headers.]),
++ [#include <sys/socket.h>
++ ])
+
+ AC_CHECK_HEADERS([sys/capability.h], [], AC_MSG_ERROR([please install libcap-devel.]),
+ [#include <sys/types.h>