rpms/xfce4-netload-plugin/FC-4 xfce4-netload-plugin-bufsize.patch, 1.1, 1.2 xfce4-netload-plugin.spec, 1.2, 1.3
Christoph Wickert (cwickert)
fedora-extras-commits at redhat.com
Tue Apr 11 11:32:18 UTC 2006
Author: cwickert
Update of /cvs/extras/rpms/xfce4-netload-plugin/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6334
Modified Files:
xfce4-netload-plugin-bufsize.patch xfce4-netload-plugin.spec
Log Message:
require xfce4-panel & update bufsize-patch
xfce4-netload-plugin-bufsize.patch:
Index: xfce4-netload-plugin-bufsize.patch
===================================================================
RCS file: /cvs/extras/rpms/xfce4-netload-plugin/FC-4/xfce4-netload-plugin-bufsize.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xfce4-netload-plugin-bufsize.patch 3 Feb 2006 20:14:03 -0000 1.1
+++ xfce4-netload-plugin-bufsize.patch 11 Apr 2006 11:32:17 -0000 1.2
@@ -1,17 +1,11 @@
---- panel-plugin/wormulon/linux.c.orig 2006-02-03 20:48:17.000000000 +0100
-+++ panel-plugin/wormulon/linux.c 2005-08-01 00:56:38.000000000 +0200
-@@ -101,11 +101,11 @@
-
- /* do not parse the first two lines as they only contain static garbage */
- fseek(proc_net_dev, 0, SEEK_SET);
-- fgets(buffer, BUFSIZ-1, proc_net_dev);
-- fgets(buffer, BUFSIZ-1, proc_net_dev);
-+ fgets(buffer, BUFSIZE-1, proc_net_dev);
-+ fgets(buffer, BUFSIZE-1, proc_net_dev);
-
- interfacefound = 0;
-- while (fgets(buffer, BUFSIZ-1, proc_net_dev) != NULL)
-+ while (fgets(buffer, BUFSIZE-1, proc_net_dev) != NULL)
- {
- /* find the device name and substitute ':' with '\0' */
- ptr = buffer;
+--- panel-plugin/wormulon/linux.c.orig 2005-08-01 00:56:38.000000000 +0200
++++ panel-plugin/wormulon/linux.c 2006-02-04 13:20:14.000000000 +0100
+@@ -81,7 +81,7 @@
+ * performance difference is _very_ minimal. But I don't think that it's a good
+ * idea to keep the file open for a very long time for _each_ plugin instance.
+ */
+- char buffer[BUFSIZE];
++ char buffer[BUFSIZ];
+ char *ptr;
+ char *devname;
+ int dump;
Index: xfce4-netload-plugin.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce4-netload-plugin/FC-4/xfce4-netload-plugin.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xfce4-netload-plugin.spec 3 Feb 2006 20:14:03 -0000 1.2
+++ xfce4-netload-plugin.spec 11 Apr 2006 11:32:17 -0000 1.3
@@ -1,6 +1,6 @@
Name: xfce4-netload-plugin
Version: 0.3.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Network-load monitor for the Xfce panel
Group: User Interface/Desktops
@@ -12,6 +12,7 @@
BuildRequires: xfce4-panel-devel >= 4.2, libxfcegui4-devel >= 4.2, libxml2-devel
BuildRequires: gettext
+Requires: xfce4-panel >= 4.2
%description
A network-load monitor plugin for the Xfce panel.
@@ -39,6 +40,10 @@
%{_libdir}/xfce4/panel-plugins/*.so
%changelog
+* Tue Apr 11 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-5
+- Require xfce4-panel.
+- Modify bufsize-patch.
+
* Thu Feb 02 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-4
- Add bufsize-patch (#179686)
More information about the scm-commits
mailing list