From 5fe22a53409e8214b602d5abb01d789f768e5a01 Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Wed, 27 Aug 2003 18:26:50 +0000 Subject: [PATCH] New version 0.2.0pre4 Fixed compile problem on NetBSD and OpenBSD (Old svn revision: 303) --- ChangeLog | 3 +++ configure | 2 +- configure.ac | 2 +- panel-plugin/wormulon/netbsd.c | 26 +++++++++++++------------- panel-plugin/wormulon/openbsd.c | 26 +++++++++++++------------- po/ca.po | 3 +-- po/de.po | 2 +- po/lt.po | 2 +- po/xfce4-netload.pot | 2 +- 9 files changed, 35 insertions(+), 33 deletions(-) diff --git a/ChangeLog b/ChangeLog index 049f184..ae8fb7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2003-08-27 Bernhard Walle + * Fixed compile problem on NetBSD and OpenBSD. + 2003-08-26 Bernhard Walle * Implemented configurable update interval. * Fixed small bug with operating system specific data initialization. diff --git a/configure b/configure index ee0213c..2e711e5 100755 --- a/configure +++ b/configure @@ -1748,7 +1748,7 @@ fi # Define the identity of the package. PACKAGE=xfce4-netload-plugin - VERSION=0.2.0pre3 + VERSION=0.2.0pre4 cat >>confdefs.h <<_ACEOF diff --git a/configure.ac b/configure.ac index c510996..9604441 100644 --- a/configure.ac +++ b/configure.ac @@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c]) AM_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0pre3]) +AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0pre4]) AM_MAINTAINER_MODE diff --git a/panel-plugin/wormulon/netbsd.c b/panel-plugin/wormulon/netbsd.c index b11768f..0be1285 100644 --- a/panel-plugin/wormulon/netbsd.c +++ b/panel-plugin/wormulon/netbsd.c @@ -1,4 +1,4 @@ -/* $Id: netbsd.c,v 1.2 2003/08/25 21:08:58 bwalle Exp $ */ +/* $Id: netbsd.c,v 1.3 2003/08/27 18:26:50 bwalle Exp $ */ /***************************************************************************** @@ -11,19 +11,19 @@ void init_osspecific(netdata* data) { - mib_name1[0] = CTL_NET; - mib_name1[1] = PF_ROUTE; - mib_name1[2] = 0; - mib_name1[3] = 0; - mib_name1[4] = NET_RT_IFLIST; - mib_name1[5] = 0; + data->mib_name1[0] = CTL_NET; + data->mib_name1[1] = PF_ROUTE; + data->mib_name1[2] = 0; + data->mib_name1[3] = 0; + data->mib_name1[4] = NET_RT_IFLIST; + data->mib_name1[5] = 0; - mib_name2[0] = CTL_NET; - mib_name2[1] = PF_ROUTE; - mib_name2[2] = 0; - mib_name2[3] = 0; - mib_name2[4] = NET_RT_IFLIST; - mib_name2[5] = 0; + data->mib_name2[0] = CTL_NET; + data->mib_name2[1] = PF_ROUTE; + data->mib_name2[2] = 0; + data->mib_name2[3] = 0; + data->mib_name2[4] = NET_RT_IFLIST; + data->mib_name2[5] = 0; } diff --git a/panel-plugin/wormulon/openbsd.c b/panel-plugin/wormulon/openbsd.c index d39ecbe..4da627d 100644 --- a/panel-plugin/wormulon/openbsd.c +++ b/panel-plugin/wormulon/openbsd.c @@ -1,4 +1,4 @@ -/* $Id: openbsd.c,v 1.2 2003/08/25 21:08:58 bwalle Exp $ */ +/* $Id: openbsd.c,v 1.3 2003/08/27 18:26:50 bwalle Exp $ */ /***************************************************************************** @@ -11,19 +11,19 @@ void init_osspecific(netdata* data) { - mib_name1[0] = CTL_NET; - mib_name1[1] = PF_ROUTE; - mib_name1[2] = 0; - mib_name1[3] = 0; - mib_name1[4] = NET_RT_IFLIST; - mib_name1[5] = 0; + data->mib_name1[0] = CTL_NET; + data->mib_name1[1] = PF_ROUTE; + data->mib_name1[2] = 0; + data->mib_name1[3] = 0; + data->mib_name1[4] = NET_RT_IFLIST; + data->mib_name1[5] = 0; - mib_name2[0] = CTL_NET; - mib_name2[1] = PF_ROUTE; - mib_name2[2] = 0; - mib_name2[3] = 0; - mib_name2[4] = NET_RT_IFLIST; - mib_name2[5] = 0; + data->mib_name2[0] = CTL_NET; + data->mib_name2[1] = PF_ROUTE; + data->mib_name2[2] = 0; + data->mib_name2[3] = 0; + data->mib_name2[4] = NET_RT_IFLIST; + data->mib_name2[5] = 0; } /***************************************************************************** diff --git a/po/ca.po b/po/ca.po index d21062d..7b8c114 100644 --- a/po/ca.po +++ b/po/ca.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: XFce 4\n" -"POT-Creation-Date: 2003-08-26 22:25+0200\n" +"POT-Creation-Date: 2003-08-27 20:23+0200\n" "PO-Revision-Date: 2003-08-26 23:58+0100\n" "Last-Translator: Carles Mu-oz Gorriz \n" "Language-Team: ca \n" @@ -74,4 +74,3 @@ msgstr "kBytes/s" #: panel-plugin/netload.c:1096 msgid "Netload" msgstr "CĂ rrega de red" - diff --git a/po/de.po b/po/de.po index 8b47c1f..04aa4b1 100644 --- a/po/de.po +++ b/po/de.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: de\n" -"POT-Creation-Date: 2003-08-26 22:25+0200\n" +"POT-Creation-Date: 2003-08-27 20:23+0200\n" "PO-Revision-Date: 2003-08-10 19:35+0200\n" "Last-Translator: Bernhard Walle \n" "Language-Team: Deutsch \n" diff --git a/po/lt.po b/po/lt.po index 828a4cb..a70828c 100644 --- a/po/lt.po +++ b/po/lt.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: xfce4-netload 1.0\n" -"POT-Creation-Date: 2003-08-26 22:25+0200\n" +"POT-Creation-Date: 2003-08-27 20:23+0200\n" "PO-Revision-Date: 2003-08-15 11:08+0300\n" "Last-Translator: Mantas \n" "Language-Team: \n" diff --git a/po/xfce4-netload.pot b/po/xfce4-netload.pot index 56e8f8d..9204013 100644 --- a/po/xfce4-netload.pot +++ b/po/xfce4-netload.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2003-08-26 22:25+0200\n" +"POT-Creation-Date: 2003-08-27 20:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"