rpms/xfce4-netload-plugin/devel xfce4-netload-plugin-bufsize.patch, NONE, 1.1 xfce4-netload-plugin.spec, 1.1, 1.2
Christoph Wickert (cwickert)
fedora-extras-commits at redhat.com
Fri Feb 3 20:22:38 UTC 2006
Author: cwickert
Update of /cvs/extras/rpms/xfce4-netload-plugin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30090
Modified Files:
xfce4-netload-plugin.spec
Added Files:
xfce4-netload-plugin-bufsize.patch
Log Message:
release 4 to fix #179686
xfce4-netload-plugin-bufsize.patch:
--- NEW FILE xfce4-netload-plugin-bufsize.patch ---
--- 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;
Index: xfce4-netload-plugin.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce4-netload-plugin/devel/xfce4-netload-plugin.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xfce4-netload-plugin.spec 22 Jan 2006 23:40:16 -0000 1.1
+++ xfce4-netload-plugin.spec 3 Feb 2006 20:22:38 -0000 1.2
@@ -1,12 +1,13 @@
Name: xfce4-netload-plugin
Version: 0.3.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Network-load monitor for the Xfce panel
Group: User Interface/Desktops
License: GPL
URL: http://xfce-goodies.berlios.de/
Source0: http://download.berlios.de/xfce-goodies/%{name}-%{version}.tar.bz2
+Patch0: xfce4-netload-plugin-bufsize.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xfce4-panel-devel >= 4.2, libxfcegui4-devel >= 4.2, libxml2-devel
@@ -17,6 +18,7 @@
%prep
%setup -q
+%patch0 -p0 -b .orig
%build
%configure --disable-static
@@ -37,6 +39,9 @@
%{_libdir}/xfce4/panel-plugins/*.so
%changelog
+* Thu Feb 02 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-4
+- Add bufsize-patch (#179686)
+
* Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-3
- Add libxfcegui4-devel BuildReqs.
- Fix %defattr.
More information about the scm-commits
mailing list