aports/testing/openlldp/procfs.patch
Natanael Copa 34788a604e testing/openlldp: build fix in lxc
configure script checks for /proc/dev/net which is not there in lxc
2014-06-03 10:48:23 +00:00

20 lines
488 B
Diff

--- ./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",
[])