Resolves: rhbz#2113444 FTBFS
This commit is contained in:
parent
dad93af317
commit
deb7fb4544
11
Werror-format-security.patch
Normal file
11
Werror-format-security.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/src/tools/hunspell.cxx 2022-08-02 09:18:13.525748669 +0100
|
||||
+++ b/src/tools/hunspell.cxx 2022-08-02 09:18:38.598006933 +0100
|
||||
@@ -581,7 +581,7 @@
|
||||
#ifdef HAVE_CURSES_H
|
||||
char* scanline(char* message) {
|
||||
char input[INPUTLEN];
|
||||
- printw(message);
|
||||
+ printw("%s", message);
|
||||
echo();
|
||||
getnstr(input, INPUTLEN);
|
||||
noecho();
|
@ -3,7 +3,7 @@
|
||||
Name: hunspell
|
||||
Summary: A spell checker and morphological analyzer library
|
||||
Version: 1.7.0
|
||||
Release: 20%{?dist}
|
||||
Release: 21%{?dist}
|
||||
Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz
|
||||
URL: https://github.com/hunspell/hunspell
|
||||
License: LGPLv2+ or GPLv2+ or MPLv1.1
|
||||
@ -21,6 +21,7 @@ Requires: hunspell-en-US
|
||||
Requires: hunspell-filesystem = %{version}-%{release}
|
||||
|
||||
Patch0: 0001-invalid-read-memory-access-624.patch
|
||||
Patch1: Werror-format-security.patch
|
||||
|
||||
%description
|
||||
Hunspell is a spell checker and morphological analyzer library and program
|
||||
@ -45,6 +46,7 @@ packages.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .CVE-2019-16707
|
||||
%patch1 -p1 -b .Werror-format-security
|
||||
|
||||
%build
|
||||
autoreconf -vfi
|
||||
@ -130,6 +132,9 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
%{_datadir}/myspell
|
||||
|
||||
%changelog
|
||||
* Tue Aug 02 2022 Caolán McNamara <caolanm@redhat.com> - 1.7.0-21
|
||||
- Resolves: rhbz#2113444 FTBFS
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user