Add missing #include for gcc-11

f39
Jeff Law 4 years ago
parent 42f41dfd5f
commit 560a7d1a1d

@ -0,0 +1,12 @@
diff --git a/ripemd.cc b/ripemd.cc
index 14dd491..044535f 100644
--- a/ripemd.cc
+++ b/ripemd.cc
@@ -18,6 +18,7 @@
#include "ripemd.hh"
+#include <limits>
#include <string.h>
#include <QtEndian>

@ -4,11 +4,12 @@
Name: goldendict Name: goldendict
Version: 1.5 Version: 1.5
Release: 0.29.RC2%{?dist} Release: 0.30.RC2%{?dist}
Summary: A feature-rich dictionary lookup program Summary: A feature-rich dictionary lookup program
License: GPLv3+ License: GPLv3+
URL: http://goldendict.org URL: http://goldendict.org
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
Patch0: goldendict-gcc11.patch
BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: cmake(Qt5XmlPatterns)
@ -87,6 +88,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/help %{_datadir}/%{name}/help
%changelog %changelog
* Wed Oct 14 2020 Jeff Law <law@redhat.com> - 1.5-0.30.RC2
- Fix missing #include for gcc-11
* Tue Sep 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5-0.29.RC2 * Tue Sep 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5-0.29.RC2
- Rebased to dda311c snapshot with different bugfixes. - Rebased to dda311c snapshot with different bugfixes.

Loading…
Cancel
Save