From 34788a604e8c3058f21aa06b38ffc7c1d8f2fa84 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 3 Jun 2014 10:48:23 +0000 Subject: testing/openlldp: build fix in lxc configure script checks for /proc/dev/net which is not there in lxc --- testing/openlldp/procfs.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testing/openlldp/procfs.patch (limited to 'testing/openlldp/procfs.patch') diff --git a/testing/openlldp/procfs.patch b/testing/openlldp/procfs.patch new file mode 100644 index 0000000000..56ea7b5d31 --- /dev/null +++ b/testing/openlldp/procfs.patch @@ -0,0 +1,19 @@ +--- ./configure.ac.orig ++++ ./configure.ac +@@ -188,16 +188,6 @@ + AC_MSG_CHECKING([for platform OS]) + AC_MSG_RESULT($platform) + +-AS_IF([test $framer = "linux"], +- [ MORELIBS="${MORELIBS} -lm" +- AC_MSG_CHECKING([for procfs support]) +- if test -r /proc/net/dev; then +- AC_MSG_RESULT(okay) +- else +- AC_MSG_ERROR([You must have ProcFS enabled in your kernel!]); +- fi], +- []) +- + AS_IF([test $framer = "generic"], + MORELIBS="${MORELIBS} -lwpcap -lpcap -ldnet", + []) -- cgit v1.2.3