Fix missing #include for gcc-10
This commit is contained in:
parent
6c26d50f1c
commit
8864003417
11
softhsm-2.5.0-gcc10.patch
Normal file
11
softhsm-2.5.0-gcc10.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -Nrup a/src/lib/SoftHSM.cpp b/src/lib/SoftHSM.cpp
|
||||||
|
--- a/src/lib/SoftHSM.cpp 2019-09-23 10:45:59.979484657 -0600
|
||||||
|
+++ b/src/lib/SoftHSM.cpp 2019-09-23 10:46:46.394199562 -0600
|
||||||
|
@@ -78,6 +78,7 @@
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <algorithm>
|
||||||
|
+#include <stdexcept>
|
||||||
|
|
||||||
|
// Initialise the one-and-only instance
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Software version of a PKCS#11 Hardware Security Module
|
Summary: Software version of a PKCS#11 Hardware Security Module
|
||||||
Name: softhsm
|
Name: softhsm
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: %{?prever:0.}4%{?prever:.%{prever}}%{?dist}.1
|
Release: %{?prever:0.}4%{?prever:.%{prever}}%{?dist}.2
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: http://www.opendnssec.org/
|
Url: http://www.opendnssec.org/
|
||||||
Source: http://dist.opendnssec.org/source/%{?prever:testing/}%{name}-%{version}.tar.gz
|
Source: http://dist.opendnssec.org/source/%{?prever:testing/}%{name}-%{version}.tar.gz
|
||||||
@ -18,6 +18,7 @@ Requires: p11-kit
|
|||||||
Requires: openssl-libs >= 1.0.1k-6
|
Requires: openssl-libs >= 1.0.1k-6
|
||||||
|
|
||||||
Patch1: softhsm-2.5.0-updates.patch
|
Patch1: softhsm-2.5.0-updates.patch
|
||||||
|
Patch2: softhsm-2.5.0-gcc10.patch
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ The devel package contains the libsofthsm include files
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?prever}
|
%setup -q -n %{name}-%{version}%{?prever}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%if 0%{?prever:1} || 0%{?prerelease:1}
|
%if 0%{?prever:1} || 0%{?prerelease:1}
|
||||||
# pre-release or post-release snapshots fixup
|
# pre-release or post-release snapshots fixup
|
||||||
@ -111,6 +113,9 @@ if [ -f /var/softhsm/slot0.db ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 2.5.0-4.2
|
||||||
|
- Fix missing #includes for gcc-10
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4.1
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4.1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user