- Fix a crash in checkboxtree.c where pressing pgup/pgdown on a

checkboxtree with less items than its height would cause segmentation
    violation. Consult BR 165347.
This commit is contained in:
prockai 2006-01-17 17:58:30 +00:00
parent f5858d4bdc
commit d0c101c985

View File

@ -4,12 +4,13 @@ Summary: A development library for text mode user interfaces.
Name: newt
%define version 0.52.2
Version: %{version}
Release: 4
Release: 5
License: LGPL
Group: System Environment/Libraries
Source: newt-%{version}.tar.gz
Patch0: newt-0.52.2-notcl.patch
Patch1: newt-0.52.2-scrollbars.patch
Patch2: newt-0.52.2-pgupdown-crash.patch
BuildRequires: python, python-devel, perl, slang-devel
Requires: slang
Provides: snack = %{version}-%{release}
@ -42,6 +43,7 @@ newt.
%setup -q
%patch0 -p1 -b .notcl
%patch1 -p1 -b .scrollbars
%patch2 -p1 -b .pgupdown-crash
%build
# gpm support seems to smash the stack w/ we use help in anaconda??
@ -87,6 +89,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libnewt.so
%changelog
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-5
- Fix a crash in checkboxtree.c where pressing pgup/pgdown
on a checkboxtree with less items than its height would
cause segmentation violation. Consult BR 165347.
* Tue Jan 17 2006 Petr Rockai <prockai@redhat.com> - 0.52.2-4
- Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance
(BR 174771).