diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 10:48:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 10:48:23 +0000 |
commit | 34788a604e8c3058f21aa06b38ffc7c1d8f2fa84 (patch) | |
tree | f26ce3eaefb191d63ad12517ee50f2d6f60edf7b /testing/openlldp/procfs.patch | |
parent | f8fca444a81516116a29279b09a401f9482c806e (diff) | |
download | aports-34788a604e8c3058f21aa06b38ffc7c1d8f2fa84.tar.bz2 aports-34788a604e8c3058f21aa06b38ffc7c1d8f2fa84.tar.xz |
testing/openlldp: build fix in lxc
configure script checks for /proc/dev/net which is not there in lxc
Diffstat (limited to 'testing/openlldp/procfs.patch')
-rw-r--r-- | testing/openlldp/procfs.patch | 19 |
1 files changed, 19 insertions, 0 deletions
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", + []) |