summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-06-25 06:04:58 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-06-25 06:04:58 +0000
commit3d6b01b9d6efbc6c22198f2475131dfed8ddc5a6 (patch)
tree60ec32bd149727bfec197846fc0662df0a51aa2f
parentinitial import, a MicroEmacs (diff)
downloadgentoo-2-3d6b01b9d6efbc6c22198f2475131dfed8ddc5a6.tar.gz
gentoo-2-3d6b01b9d6efbc6c22198f2475131dfed8ddc5a6.tar.bz2
gentoo-2-3d6b01b9d6efbc6c22198f2475131dfed8ddc5a6.zip
Added a patch for the network sensor as provided by Evan Teran in bug 183071. Thanks, Evan!
(Portage version: 2.1.3_rc5)
-rw-r--r--kde-base/kdeutils/ChangeLog7
-rw-r--r--kde-base/kdeutils/files/superkaramba-3.5.7-network_sensor.patch12
-rw-r--r--kde-base/kdeutils/kdeutils-3.5.7.ebuild5
3 files changed, 21 insertions, 3 deletions
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 <philantrop@gentoo.org>
+ +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 <kumba@gentoo.org> 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() {