import texinfo-6.7-15.el9

This commit is contained in:
CentOS Sources 2022-04-05 07:08:45 -04:00 committed by Stepan Oksanichenko
parent 4c71340d74
commit 8abb9e3ab2
2 changed files with 68 additions and 1 deletions

View File

@ -0,0 +1,53 @@
diff -up texinfo-6.7/gnulib/lib/regex_internal.c.orig texinfo-6.7/gnulib/lib/regex_internal.c
--- texinfo-6.7/gnulib/lib/regex_internal.c.orig 2019-08-25 19:11:45.000000000 +0200
+++ texinfo-6.7/gnulib/lib/regex_internal.c 2022-02-09 09:51:41.084596377 +0100
@@ -1724,7 +1724,10 @@ create_cd_newstate (const re_dfa_t *dfa,
}
if (re_node_set_init_copy (newstate->entrance_nodes, nodes)
!= REG_NOERROR)
- return NULL;
+ {
+ free_state (newstate);
+ return NULL;
+ }
nctx_nodes = 0;
newstate->has_constraint = 1;
}
diff -up texinfo-6.7/info/session.c.orig texinfo-6.7/info/session.c
--- texinfo-6.7/info/session.c.orig 2022-02-09 09:51:30.952589716 +0100
+++ texinfo-6.7/info/session.c 2022-02-09 09:51:41.085596377 +0100
@@ -2897,7 +2897,10 @@ DECLARE_INFO_COMMAND (info_menu_sequence
node = info_follow_menus (dir_node, nodes, &error, 0);
info_set_node_of_window (window, node);
if (error)
- show_error_node (error);
+ {
+ show_error_node (error);
+ free (error);
+ }
}
free (nodes);
@@ -3668,8 +3671,9 @@ DECLARE_INFO_COMMAND (info_view_file, _(
else
info_set_node_of_window (window, node);
- free (line);
}
+
+ free (line);
}
/* **************************************************************** */
diff -up texinfo-6.7/util/texi2dvi.orig texinfo-6.7/util/texi2dvi
--- texinfo-6.7/util/texi2dvi.orig 2019-09-23 20:28:10.000000000 +0200
+++ texinfo-6.7/util/texi2dvi 2022-02-09 09:51:41.086596378 +0100
@@ -1697,7 +1697,7 @@ cleanup ()
input_file_name_decode ()
{
case $command_line_filename in
- *\\input{*}*)
+ *\\input\{*\}*)
# Let AUC-TeX error parser deal with line numbers.
line_error=false
command_line_filename=`\

View File

@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 6.7
Release: 12%{?dist}
Release: 15%{?dist}
License: GPLv3+
Url: http://www.gnu.org/software/texinfo/
Source0: ftp://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
@ -21,6 +21,8 @@ Patch4: texinfo-6.5-fix-info-dir.patch
Patch5: texinfo-6.5-covscan-fixes.patch
# Patch6: fixes issue found by ShellCheck in test script
Patch6: texinfo-6.7-fix-function-exit.patch
# Patch7: fixes another batch of issues detected by static analysis
Patch7: texinfo-6.7-convscan-fixes.patch
BuildRequires: make
BuildRequires: gcc
@ -147,6 +149,18 @@ export ALL_TESTS=yes
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Mon Feb 21 2022 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.7-15
- Rebuild
Related: #1938884
* Wed Feb 16 2022 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.7-14
- Rebuild
Related: #1938884
* Thu Feb 10 2022 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.7-13
- Fix issues found by static analysis
Resolves: #1938884
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 6.7-12
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688