Hello community, here is the log from the commit of package htop checked in at Fri Nov 21 15:21:42 CET 2008. -------- --- htop/htop.changes 2008-09-23 19:19:35.000000000 +0200 +++ /mounts/work_src_done/STABLE/htop/htop.changes 2008-11-21 10:58:08.000000000 +0100 @@ -1,0 +2,11 @@ +Fri Nov 21 10:57:51 CET 2008 - thoenig@suse.de + +- add python to build requires + +------------------------------------------------------------------- +Fri Nov 21 09:45:29 CET 2008 - thoenig@suse.de + +- add patch htop-non-printable-characters.patch: Don't try to show + non-printable charcaters (bnc#440951) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- htop-non-printable-characters.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ htop.spec ++++++ --- /var/tmp/diff_new_pack.p30356/_old 2008-11-21 15:21:24.000000000 +0100 +++ /var/tmp/diff_new_pack.p30356/_new 2008-11-21 15:21:24.000000000 +0100 @@ -22,13 +22,14 @@ Url: http://htop.sourceforge.net Summary: An Interactive text-mode Process Viewer for Linux Version: 0.8.1 -Release: 1 +Release: 2 License: GPL v2 or later Group: System/Monitoring Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-desktop-file-fix-thoenig-01.patch +Patch1: %{name}-non-printable-characters.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ncurses-devel +BuildRequires: ncurses-devel python AutoReqProv: on %description @@ -46,6 +47,7 @@ %prep %setup %patch0 -p0 +%patch1 -p1 %build %configure \ @@ -67,6 +69,11 @@ %{_mandir}/*/%{name}* %changelog +* Fri Nov 21 2008 thoenig@suse.de +- add python to build requires +* Fri Nov 21 2008 thoenig@suse.de +- add patch htop-non-printable-characters.patch: Don't try to show + non-printable charcaters (bnc#440951) * Tue Sep 23 2008 thoenig@suse.de - Linux-VServer support - battery meter ++++++ htop-non-printable-characters.patch ++++++ Index: htop-0.8.1/RichString.c =================================================================== --- htop-0.8.1.orig/RichString.c +++ htop-0.8.1/RichString.c @@ -56,11 +56,11 @@ inline void RichString_appendn(RichStrin if (len<0) return; int last = MIN(RICHSTRING_MAXLEN - 1, len + this->len); for (int i = this->len, j = 0; i < last; i++, j++) { memset(&this->chstr[i], 0, sizeof(this->chstr[i])); - this->chstr[i].chars[0] = data[j]; + this->chstr[i].chars[0] = (data[j] > 31) ? data[j] : '?'; this->chstr[i].attr = attrs; } this->chstr[last].chars[0] = 0; this->len = last; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org