diff --git a/mc-4.6.1-esc-seq.patch b/mc-4.6.1-esc-seq.patch new file mode 100644 index 0000000..c2a42b3 --- /dev/null +++ b/mc-4.6.1-esc-seq.patch @@ -0,0 +1,11 @@ +--- src/util.c ++++ src/util.c +@@ -1145,6 +1145,8 @@ + /* strchr() matches trailing binary 0 */ + while (*(++r) && strchr ("0123456789;?", *r)); + } ++ else if (*(r) == '(') ++ r++; + + /* + * Now we are at the last character of the sequence. diff --git a/mc.changes b/mc.changes index 3062ab9..beb3bbc 100644 --- a/mc.changes +++ b/mc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 17 17:03:06 CEST 2007 - nadvornik@suse.cz + +- fixed terminal escape sequences parsing (#253401) + ------------------------------------------------------------------- Mon Apr 2 14:45:10 CEST 2007 - rguenther@suse.de diff --git a/mc.spec b/mc.spec index bf22e35..fb3d828 100644 --- a/mc.spec +++ b/mc.spec @@ -13,12 +13,12 @@ Name: mc BuildRequires: audiofile-devel docbook-toys e2fsprogs-devel glib2-devel gpm indent jpeg libjpeg-devel libpng-devel readline-devel recode slang-devel xorg-x11-devel %define _prefix /usr -License: GNU General Public License (GPL) +License: GPL v2 or later Group: Productivity/File utilities PreReq: permissions Autoreqprov: on Version: 4.6.1 -Release: 78 +Release: 106 Summary: Midnight Commander Source: mc-4.6.1.tar.bz2 Source1: x11_browser @@ -51,6 +51,7 @@ Patch27: mc-4.6.1-getpwuid.patch Patch28: mc-4.6.1-syntax-hpp.patch Patch29: mc-utf8-nlink.patch Patch30: mc-4.6.1-bash-all.patch +Patch31: mc-4.6.1-esc-seq.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://www.ibiblio.org/mc/ @@ -141,6 +142,7 @@ Authors: %patch28 %patch29 %patch30 +%patch31 cd po rename no nb no.* cd ../lib @@ -237,6 +239,8 @@ rm -rf %{buildroot} %{_datadir}/mc %changelog +* Tue Jul 17 2007 - nadvornik@suse.cz +- fixed terminal escape sequences parsing (#253401) * Mon Apr 02 2007 - rguenther@suse.de - add gpm BuildRequires * Mon Jan 15 2007 - nadvornik@suse.cz