summaryrefslogtreecommitdiff
path: root/net/nload/patches
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-13 08:31:05 +0000
committerminskim <minskim>2005-11-13 08:31:05 +0000
commitabbf869d70c9bd466a4766c0bfeaabd5380b4368 (patch)
tree24883026468a106f2c87c43f04bde6f8e34184fc /net/nload/patches
parent2674dd92ceee80179d60b7a50d31cdc7b52d9c4e (diff)
downloadpkgsrc-abbf869d70c9bd466a4766c0bfeaabd5380b4368.tar.gz
Import nload from pkgsrc-wip. Packaged by Bartosz Kuzma.
nload is a console application which monitors network traffic and bandwidth usage in real time. It visualizes the in- and outgoing traffic using two graphs and provides additional info like the total amount of transfered data and min/max network usage.
Diffstat (limited to 'net/nload/patches')
-rw-r--r--net/nload/patches/patch-aa13
-rw-r--r--net/nload/patches/patch-ab13
-rw-r--r--net/nload/patches/patch-ac13
3 files changed, 39 insertions, 0 deletions
diff --git a/net/nload/patches/patch-aa b/net/nload/patches/patch-aa
new file mode 100644
index 00000000000..f5ce3f744c1
--- /dev/null
+++ b/net/nload/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- src/form_field.cpp.orig 2003-11-25 19:05:01.000000000 +0100
++++ src/form_field.cpp 2005-11-07 21:50:38.000000000 +0100
+@@ -30,7 +30,7 @@
+
+ void Field::setBuffer( const char* new_buffer )
+ {
+- set_field_buffer( m_field, 0, new_buffer );
++ set_field_buffer( m_field, 0, ( char* )new_buffer );
+ }
+
+ const char* Field::buffer()
diff --git a/net/nload/patches/patch-ab b/net/nload/patches/patch-ab
new file mode 100644
index 00000000000..1851ba1bc7e
--- /dev/null
+++ b/net/nload/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- configure.in.orig 2003-12-14 23:41:18.000000000 -0800
++++ configure.in
+@@ -32,7 +32,7 @@ case $host_os in
+ AC_DEFINE(HAVE_LINUX, 1, [Define to 1 if your build target is Linux.])
+ AC_CHECK_FUNCS([memset])
+ ;;
+- *bsd*)
++ *bsd* | *darwin*)
+ AC_DEFINE(HAVE_BSD, 1, [Define to 1 if your build target is BSD.])
+ AC_FUNC_MALLOC
+ ;;
diff --git a/net/nload/patches/patch-ac b/net/nload/patches/patch-ac
new file mode 100644
index 00000000000..e0214a7c338
--- /dev/null
+++ b/net/nload/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- configure.orig 2003-12-14 23:41:34.000000000 -0800
++++ configure
+@@ -3833,7 +3833,7 @@ fi
+ done
+
+ ;;
+- *bsd*)
++ *bsd* | *darwin*)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_BSD 1