summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch')
-rw-r--r--net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch b/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch
new file mode 100644
index 000000000000..32b3e21cce99
--- /dev/null
+++ b/net-analyzer/bmon/files/bmon-2.1.0-libnl-1.0.patch
@@ -0,0 +1,23 @@
+--- configure~ 2007-09-03 23:46:20.000000000 +0200
++++ configure 2007-09-03 23:46:20.000000000 +0200
+@@ -7327,13 +7327,13 @@ echo "$as_me:$LINENO: result: $ac_cv_lib
+ echo "${ECHO_T}$ac_cv_lib_nl_nl_connect" >&6
+ if test $ac_cv_lib_nl_nl_connect = yes; then
+
+-
+-cat >>confdefs.h <<_ACEOF
+-#define HAVE_NL "1"
+-_ACEOF
+-
+- LIBNL="-lnl"
+- NL="Yes"
++ case ${target_os} in
++ *linux*)
++ echo
++ echo "*** Warning: Building bmon on Linuxx w/o libnl ***"
++ echo
++ ;;
++ esac
+
+ else
+