diff --git a/less-382-fixline.patch b/less-382-fixline.patch new file mode 100644 index 0000000..60ab557 --- /dev/null +++ b/less-382-fixline.patch @@ -0,0 +1,10 @@ +--- less-382/command.c.fixline 2004-02-04 05:52:26.000000000 +0100 ++++ less-382/command.c 2005-09-05 09:24:03.000000000 +0200 +@@ -1168,6 +1168,7 @@ + jump_forw(); + else + jump_back(number); ++ repaint(); + break; + + case A_GOPOS: diff --git a/less.spec b/less.spec index 6f513f0..135c58d 100644 --- a/less.spec +++ b/less.spec @@ -1,7 +1,7 @@ Summary: A text file browser similar to more, but better. Name: less Version: 382 -Release: 7 +Release: 8 License: GPL Group: Applications/Text Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz @@ -11,6 +11,7 @@ Source3: less.csh Patch0: less-382-ncursesw.patch Patch1: less-382-utf8detect.patch +Patch2: less-382-fixline.patch URL: http://www.greenwoodsoftware.com/less/ Buildroot: %{_tmppath}/%{name}-root @@ -30,6 +31,7 @@ files, and you'll use it frequently. %setup -q %patch0 -p1 -b .ncursesw %patch1 -p1 -b .utf8detect +%patch2 -p1 -b .fixline chmod -R a+w * %build @@ -55,6 +57,9 @@ install -c -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 2 2005 Jindrich Novy 382-8 +- fix displaying of bogus newline for growing files (#120916) + * Fri Mar 4 2005 Jindrich Novy 382-7 - rebuilt with gcc4