diff options
author | markd <markd@pkgsrc.org> | 2006-02-01 12:36:25 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2006-02-01 12:36:25 +0000 |
commit | 3b1781af6531268938833bf7fcc65a785e7ff6c9 (patch) | |
tree | 3853b2c179a471902828f241bd50e15097861e7c /x11/kdebase3/patches | |
parent | 7c40ff0d9291e1f172201e307e19ec80f6cfdfbf (diff) | |
download | pkgsrc-3b1781af6531268938833bf7fcc65a785e7ff6c9.tar.gz |
Fix display of NetBSD device info in the KInfoCenter. (Reads
/var/run/dmesg.boot and was stopping at first blank line rather that EOF)
Bump PKGREVISION.
Diffstat (limited to 'x11/kdebase3/patches')
-rw-r--r-- | x11/kdebase3/patches/patch-af | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/kdebase3/patches/patch-af b/x11/kdebase3/patches/patch-af index bb0ab489017..79a7fae3534 100644 --- a/x11/kdebase3/patches/patch-af +++ b/x11/kdebase3/patches/patch-af @@ -1,7 +1,16 @@ -$NetBSD: patch-af,v 1.6 2005/03/23 21:44:37 markd Exp $ +$NetBSD: patch-af,v 1.7 2006/02/01 12:36:25 markd Exp $ ---- kcontrol/info/info_netbsd.cpp.orig 2005-02-04 12:18:52.000000000 +1300 +--- kcontrol/info/info_netbsd.cpp.orig 2005-09-10 20:25:05.000000000 +1200 +++ kcontrol/info/info_netbsd.cpp +@@ -123,7 +123,7 @@ static bool GetDmesgInfo(QListView *lBox + } + + QListViewItem *olditem = NULL; +- while(!(s = t->readLine().local8Bit()).isEmpty()) { ++ while(!(s = t->readLine().local8Bit()).isNull()) { + if (!seencpu) { + if (s.contains("cpu")) + seencpu = true; @@ -265,9 +265,11 @@ bool GetInfo_SCSI (QListView *lbox) bool GetInfo_Partitions (QListView *lbox) { |