From f5c8f1c6a2c3abd087afa158226ad71ca50adbdd Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 14 Dec 2019 11:21:43 -0700 Subject: [PATCH] Add missing #include for gcc-10 --- gcc10.patch | 11 +++++++++++ memkind.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 gcc10.patch diff --git a/gcc10.patch b/gcc10.patch new file mode 100644 index 0000000..eb825f7 --- /dev/null +++ b/gcc10.patch @@ -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 + #include + #include ++#include + + #include "memkind.h" + diff --git a/memkind.spec b/memkind.spec index 553b6f3..ac859ff 100644 --- a/memkind.spec +++ b/memkind.spec @@ -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 - 1.9.0-3 +- Fix missing #include for gcc-10 + * Thu Jul 25 2019 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild