Add missing #include for gcc-10
This commit is contained in:
parent
82cecdd4e2
commit
f5c8f1c6a2
11
gcc10.patch
Normal file
11
gcc10.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Nrup a/include/pmem_allocator.h b/include/pmem_allocator.h
|
||||
--- a/include/pmem_allocator.h 2019-04-08 03:09:06.000000000 -0600
|
||||
+++ b/include/pmem_allocator.h 2019-09-23 16:44:03.513259842 -0600
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <type_traits>
|
||||
#include <atomic>
|
||||
#include <cstddef>
|
||||
+#include <stdexcept>
|
||||
|
||||
#include "memkind.h"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
Name: memkind
|
||||
Summary: User Extensible Heap Manager
|
||||
Version: 1.9.0
|
||||
Release: 2%{?checkout}%{?dist}
|
||||
Release: 3%{?checkout}%{?dist}
|
||||
License: BSD
|
||||
URL: http://memkind.github.io/memkind
|
||||
BuildRequires: automake libtool numactl-devel systemd gcc gcc-c++
|
||||
@ -20,6 +20,8 @@ ExclusiveArch: x86_64
|
||||
|
||||
Source0: https://github.com/%{name}/%{name}/archive/%{gittag0}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: gcc10.patch
|
||||
|
||||
%description
|
||||
The memkind library is an user extensible heap manager built on top of
|
||||
jemalloc which enables control of memory characteristics and a
|
||||
@ -50,6 +52,7 @@ alpha release. Feedback on design or implementation is greatly appreciated.
|
||||
|
||||
%prep
|
||||
%setup -q -a 0 -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# It is required that we configure and build the jemalloc subdirectory
|
||||
@ -99,6 +102,9 @@ rm -f %{buildroot}/%{_docdir}/%{name}/VERSION
|
||||
%{_mandir}/man7/autohbw.7.*
|
||||
|
||||
%changelog
|
||||
* Sat Dec 14 2019 Jeff Law <law@redhat.com> - 1.9.0-3
|
||||
- Fix missing #include for gcc-10
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user