New version 0.2.0pre4

Fixed compile problem on NetBSD and OpenBSD


(Old svn revision: 303)
master
Bernhard Walle 2003-08-27 18:26:50 +00:00
parent d5c2e5ee26
commit 5fe22a5340
9 changed files with 35 additions and 33 deletions

View File

@ -1,3 +1,6 @@
2003-08-27 Bernhard Walle
* Fixed compile problem on NetBSD and OpenBSD.
2003-08-26 Bernhard Walle 2003-08-26 Bernhard Walle
* Implemented configurable update interval. * Implemented configurable update interval.
* Fixed small bug with operating system specific data initialization. * Fixed small bug with operating system specific data initialization.

2
configure vendored
View File

@ -1748,7 +1748,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=xfce4-netload-plugin PACKAGE=xfce4-netload-plugin
VERSION=0.2.0pre3 VERSION=0.2.0pre4
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF

View File

@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c])
AM_CONFIG_HEADER([config.h]) 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 AM_MAINTAINER_MODE

View File

@ -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) void init_osspecific(netdata* data)
{ {
mib_name1[0] = CTL_NET; data->mib_name1[0] = CTL_NET;
mib_name1[1] = PF_ROUTE; data->mib_name1[1] = PF_ROUTE;
mib_name1[2] = 0; data->mib_name1[2] = 0;
mib_name1[3] = 0; data->mib_name1[3] = 0;
mib_name1[4] = NET_RT_IFLIST; data->mib_name1[4] = NET_RT_IFLIST;
mib_name1[5] = 0; data->mib_name1[5] = 0;
mib_name2[0] = CTL_NET; data->mib_name2[0] = CTL_NET;
mib_name2[1] = PF_ROUTE; data->mib_name2[1] = PF_ROUTE;
mib_name2[2] = 0; data->mib_name2[2] = 0;
mib_name2[3] = 0; data->mib_name2[3] = 0;
mib_name2[4] = NET_RT_IFLIST; data->mib_name2[4] = NET_RT_IFLIST;
mib_name2[5] = 0; data->mib_name2[5] = 0;
} }

View File

@ -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) void init_osspecific(netdata* data)
{ {
mib_name1[0] = CTL_NET; data->mib_name1[0] = CTL_NET;
mib_name1[1] = PF_ROUTE; data->mib_name1[1] = PF_ROUTE;
mib_name1[2] = 0; data->mib_name1[2] = 0;
mib_name1[3] = 0; data->mib_name1[3] = 0;
mib_name1[4] = NET_RT_IFLIST; data->mib_name1[4] = NET_RT_IFLIST;
mib_name1[5] = 0; data->mib_name1[5] = 0;
mib_name2[0] = CTL_NET; data->mib_name2[0] = CTL_NET;
mib_name2[1] = PF_ROUTE; data->mib_name2[1] = PF_ROUTE;
mib_name2[2] = 0; data->mib_name2[2] = 0;
mib_name2[3] = 0; data->mib_name2[3] = 0;
mib_name2[4] = NET_RT_IFLIST; data->mib_name2[4] = NET_RT_IFLIST;
mib_name2[5] = 0; data->mib_name2[5] = 0;
} }
/***************************************************************************** /*****************************************************************************

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: XFce 4\n" "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" "PO-Revision-Date: 2003-08-26 23:58+0100\n"
"Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n" "Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n"
"Language-Team: ca <LL@li.org>\n" "Language-Team: ca <LL@li.org>\n"
@ -74,4 +74,3 @@ msgstr "kBytes/s"
#: panel-plugin/netload.c:1096 #: panel-plugin/netload.c:1096
msgid "Netload" msgid "Netload"
msgstr "Càrrega de red" msgstr "Càrrega de red"

View File

@ -3,7 +3,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: de\n" "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" "PO-Revision-Date: 2003-08-10 19:35+0200\n"
"Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n" "Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n"
"Language-Team: Deutsch <www.xfce.org>\n" "Language-Team: Deutsch <www.xfce.org>\n"

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: xfce4-netload 1.0\n" "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" "PO-Revision-Date: 2003-08-15 11:08+0300\n"
"Last-Translator: Mantas <zaz@xxx.lt>\n" "Last-Translator: Mantas <zaz@xxx.lt>\n"
"Language-Team: <komp_lt@konferencijos.lt>\n" "Language-Team: <komp_lt@konferencijos.lt>\n"

View File

@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"