aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/openlldp/procfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/openlldp/procfs.patch')
-rw-r--r--unmaintained/openlldp/procfs.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/unmaintained/openlldp/procfs.patch b/unmaintained/openlldp/procfs.patch
new file mode 100644
index 0000000000..56ea7b5d31
--- /dev/null
+++ b/unmaintained/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",
+ [])