Fix mouse no longer works with info

This commit is contained in:
Vitezslav Crhonek 2016-02-09 10:31:48 +01:00
parent 88ceb2c0fe
commit 66fdba6628
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up texinfo-6.0/info/terminal.c.orig texinfo-6.0/info/terminal.c
--- texinfo-6.0/info/terminal.c.orig 2016-02-09 10:08:15.890357366 +0100
+++ texinfo-6.0/info/terminal.c 2016-02-09 10:09:52.240642939 +0100
@@ -76,7 +76,7 @@ VFunction *terminal_write_chars_hook = N
VFunction *terminal_scroll_terminal_hook = NULL;
/* User variable 'mouse'. Values can be MP_* constants in terminal.h. */
-int mouse_protocol = MP_NORMAL_TRACKING;
+int mouse_protocol = MP_NONE;
/* **************************************************************** */
/* */

View File

@ -5,7 +5,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 6.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/
@ -20,6 +20,8 @@ Source4: filter-provides-texinfo.sh
Source5: macros.info
Patch0: texinfo-4.12-zlib.patch
Patch1: texinfo-6.0-disable-failing-info-test.patch
# bz#1305062 already upstream
Patch2: texinfo-6.0-mouse-protocol.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: perl >= 5.7.3, perl(Text::Unidecode)
@ -68,6 +70,7 @@ for printing using TeX.
%setup -q
%patch0 -p1 -b .zlib
%patch1 -p1 -b .disable-failing-info-test
%patch2 -p1 -b .mouse-protocol
%build
%configure --with-external-Text-Unidecode \
@ -170,6 +173,10 @@ fi
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Tue Feb 09 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.0-2
- Fix mouse no longer works with info
Resolves: #1305062
* Tue Jul 14 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.0-1
- Update to texinfo-6.0
Resolves: #1236254