From 3d6b01b9d6efbc6c22198f2475131dfed8ddc5a6 Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Mon, 25 Jun 2007 06:04:58 +0000 Subject: Added a patch for the network sensor as provided by Evan Teran in bug 183071. Thanks, Evan! (Portage version: 2.1.3_rc5) --- kde-base/kdeutils/ChangeLog | 7 ++++++- .../kdeutils/files/superkaramba-3.5.7-network_sensor.patch | 12 ++++++++++++ kde-base/kdeutils/kdeutils-3.5.7.ebuild | 5 +++-- 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 kde-base/kdeutils/files/superkaramba-3.5.7-network_sensor.patch (limited to 'kde-base') diff --git a/kde-base/kdeutils/ChangeLog b/kde-base/kdeutils/ChangeLog index 2e41aad9861e..3310e6f9c21d 100644 --- a/kde-base/kdeutils/ChangeLog +++ b/kde-base/kdeutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdeutils # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/ChangeLog,v 1.203 2007/06/03 21:50:05 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/ChangeLog,v 1.204 2007/06/25 06:04:58 philantrop Exp $ + + 25 Jun 2007; Wulf C. Krueger + +files/superkaramba-3.5.7-network_sensor.patch, kdeutils-3.5.7.ebuild: + Added a patch for the network sensor as provided by Evan Teran in bug + 183071. Thanks, Evan! 03 Jun 2007; Joshua Kinard kdeutils-3.5.6-r1.ebuild: Marked unstable on mips. diff --git a/kde-base/kdeutils/files/superkaramba-3.5.7-network_sensor.patch b/kde-base/kdeutils/files/superkaramba-3.5.7-network_sensor.patch new file mode 100644 index 000000000000..d75bcbd1510a --- /dev/null +++ b/kde-base/kdeutils/files/superkaramba-3.5.7-network_sensor.patch @@ -0,0 +1,12 @@ +diff -Naur old/kdeutils-3.5.7/superkaramba/src/networksensor.cpp new/kdeutils-3.5.7/superkaramba/src/networksensor.cpp +--- old/kdeutils-3.5.7/superkaramba/src/networksensor.cpp 2005-09-10 04:21:35.000000000 -0400 ++++ new/kdeutils-3.5.7/superkaramba/src/networksensor.cpp 2007-06-24 23:35:18.000000000 -0400 +@@ -108,7 +108,7 @@ + } + if ( line.contains( device ) ) + { +- QRegExp rx( "\\W+"+device+":\\D*(\\d+)(?:\\D+\\d+){7}\\D+(\\d+)", false); ++ QRegExp rx( "\\W*"+device+":\\D*(\\d+)(?:\\D+\\d+){7}\\D+(\\d+)", false); + rx.search(line); + in = rx.cap(1).toULong(); + out = rx.cap(2).toULong(); diff --git a/kde-base/kdeutils/kdeutils-3.5.7.ebuild b/kde-base/kdeutils/kdeutils-3.5.7.ebuild index 2e2285a94635..7ceb24baadb7 100644 --- a/kde-base/kdeutils/kdeutils-3.5.7.ebuild +++ b/kde-base/kdeutils/kdeutils-3.5.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.7.ebuild,v 1.3 2007/05/28 22:23:26 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeutils/kdeutils-3.5.7.ebuild,v 1.4 2007/06/25 06:04:58 philantrop Exp $ inherit kde-dist eutils @@ -29,7 +29,8 @@ DEPEND="${BOTH_DEPEND} x11-proto/xproto virtual/os-headers" -PATCHES="${FILESDIR}/klaptopdaemon-3.5.7-libXss-linking.patch" +PATCHES="${FILESDIR}/klaptopdaemon-3.5.7-libXss-linking.patch + ${FILESDIR}/superkaramba-3.5.7-network_sensor.patch" EPATCH_EXCLUDE="klaptopdaemon-3.5-suspend2+xsession-errors.diff" src_unpack() { -- cgit v1.2.3-65-gdbad