aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openlldp/procfs.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-03 10:48:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-03 10:48:23 +0000
commit34788a604e8c3058f21aa06b38ffc7c1d8f2fa84 (patch)
treef26ce3eaefb191d63ad12517ee50f2d6f60edf7b /testing/openlldp/procfs.patch
parentf8fca444a81516116a29279b09a401f9482c806e (diff)
downloadaports-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.patch19
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",
+ [])