fix undefined value error
This commit is contained in:
parent
2fb86b2041
commit
b40e3d84b8
11
texinfo-7.0.2-undef-val-array-ref.patch
Normal file
11
texinfo-7.0.2-undef-val-array-ref.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up texinfo-7.0.2/tp/Texinfo/ParserNonXS.pm.orig texinfo-7.0.2/tp/Texinfo/ParserNonXS.pm
|
||||
--- texinfo-7.0.2/tp/Texinfo/ParserNonXS.pm.orig 2023-01-22 11:42:42.000000000 +0100
|
||||
+++ texinfo-7.0.2/tp/Texinfo/ParserNonXS.pm 2023-02-22 12:22:13.711852621 +0100
|
||||
@@ -4357,6 +4357,7 @@ sub _process_remaining_on_line($$$$)
|
||||
and ($current->{'parent'}->{'type'} eq 'menu_comment'
|
||||
or $current->{'parent'}->{'type'} eq 'menu_entry_description')
|
||||
and $asterisk
|
||||
+ and $current->{'contents'}
|
||||
and @{$current->{'contents'}}
|
||||
and $current->{'contents'}->[-1]->{'type'}
|
||||
and $current->{'contents'}->[-1]->{'type'} eq 'empty_line'
|
||||
11
texinfo.spec
11
texinfo.spec
@ -4,15 +4,17 @@
|
||||
|
||||
Name: texinfo
|
||||
Version: 7.0.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: The GNU Documentation System
|
||||
License: GPLv3+
|
||||
Url: http://www.gnu.org/software/texinfo/
|
||||
Source0: https://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
|
||||
Source1: https://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz.sig
|
||||
|
||||
Patch0002: texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch
|
||||
Patch0005: texinfo-6.5-covscan-fixes.patch
|
||||
#patch from :https://src.fedoraproject.org/rpms/texinfo/tee/rawhide
|
||||
Patch6000: texinfo-6.1-install-info-use-create-tmp-then-rename-pattern.patch
|
||||
Patch6001: texinfo-6.5-covscan-fixes.patch
|
||||
Patch6002: texinfo-7.0.2-undef-val-array-ref.patch
|
||||
|
||||
BuildRequires: gcc perl-generators zlib-devel ncurses-devel help2man
|
||||
BuildRequires: perl(Data::Dumper) perl(Locale::Messages) perl(Unicode::EastAsianWidth) perl(Text::Unidecode) perl(Storable) perl(Unicode::Normalize)
|
||||
@ -133,6 +135,9 @@ export ALL_TESTS=yes
|
||||
%{_mandir}/man5/texinfo.5*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 02 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 7.0.3-2
|
||||
- fix undefined value error
|
||||
|
||||
* Fri Jul 21 2023 zhangchenglin <zhanchenglin@kylinos.cn> - 7.0.3-1
|
||||
- update to 7.0.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user