From 766ec2c816312f2a336cefd4601cec3d27fe83ea Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 27 2014 16:18:31 +0000 Subject: import texinfo-5.1-4.el7.src.rpm --- diff --git a/SOURCES/texinfo-5.2-non-existing-info-page-segfault.patch b/SOURCES/texinfo-5.2-non-existing-info-page-segfault.patch new file mode 100644 index 0000000..1251d07 --- /dev/null +++ b/SOURCES/texinfo-5.2-non-existing-info-page-segfault.patch @@ -0,0 +1,18 @@ +diff -up texinfo-5.2/info/info.c.orig texinfo-5.2/info/info.c +--- texinfo-5.2/info/info.c.orig 2014-01-16 08:55:50.084084818 +0100 ++++ texinfo-5.2/info/info.c 2014-01-16 08:55:55.464112252 +0100 +@@ -859,7 +859,13 @@ show_error_node (NODE *node) + { + if (info_error_rings_bell_p) + terminal_ring_bell (); +- if (!echo_area_is_active) ++ if (user_output_filename) ++ { ++ if (node->contents[node->nodelen - 1] == '\n') ++ node->contents[node->nodelen - 1] = 0; ++ info_error ("%s", node->contents); ++ } ++ else if (!echo_area_is_active) + { + free_echo_area (); + window_set_node_of_window (the_echo_area, node); diff --git a/SPECS/texinfo.spec b/SPECS/texinfo.spec index dbafbc9..ab7b840 100644 --- a/SPECS/texinfo.spec +++ b/SPECS/texinfo.spec @@ -3,7 +3,7 @@ Summary: Tools needed to create Texinfo format documentation files Name: texinfo Version: 5.1 -Release: 1%{?dist} +Release: 4%{?dist} License: GPLv3+ Group: Applications/Publishing Url: http://www.gnu.org/software/texinfo/ @@ -12,6 +12,8 @@ Source1: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz.sig Source2: info-dir Patch0: texinfo-4.12-zlib.patch Patch1: texinfo-4.13a-powerpc.patch +# Patch2: bz#1053129, already upstream +Patch2: texinfo-5.2-non-existing-info-page-segfault.patch Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Requires: perl >= 5.7.3, perl(Text::Unidecode) @@ -57,6 +59,7 @@ for printing using TeX. %setup -q %patch0 -p1 -b .zlib %patch1 -p1 -b .powerpc +%patch2 -p1 -b .non-existing-info-page-segfault %build %configure --with-external-Text-Unidecode \ @@ -151,6 +154,16 @@ fi %{_mandir}/man1/pdftexi2dvi.1* %changelog +* Fri Jan 24 2014 Daniel Mach - 5.1-4 +- Mass rebuild 2014-01-24 + +* Mon Jan 20 2014 Vitezslav Crhonek - 5.1-3 +- Fix info segfaults on non existing info page when used with -o + Resolves: #1053129 + +* Fri Dec 27 2013 Daniel Mach - 5.1-2 +- Mass rebuild 2013-12-27 + * Mon Mar 18 2013 Vitezslav Crhonek - 5.1-1 - Update to texinfo-5.1