From d0c101c985508254d6714933e3f70e63496adeff Mon Sep 17 00:00:00 2001 From: prockai Date: Tue, 17 Jan 2006 17:58:30 +0000 Subject: [PATCH] - 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. --- newt.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/newt.spec b/newt.spec index 8f17ae3..b6f6fe7 100644 --- a/newt.spec +++ b/newt.spec @@ -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 - 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 - 0.52.2-4 - Apply patch by Bill Nottingham (thanks) to improve scrollbar appearance (BR 174771).