From 867bc42ec9ecaee768f1de31d9756f5a51a09e60 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 5 Mar 2015 17:00:58 +0100 Subject: [PATCH] add missing includes --- 0001-add-missing-includes-for-assert.patch | 38 ++++++++++++++++++++++ mdds.spec | 7 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-add-missing-includes-for-assert.patch diff --git a/0001-add-missing-includes-for-assert.patch b/0001-add-missing-includes-for-assert.patch new file mode 100644 index 0000000..269c268 --- /dev/null +++ b/0001-add-missing-includes-for-assert.patch @@ -0,0 +1,38 @@ +From e925abaa10227d30dc291bd20932f8d566a655d9 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Thu, 5 Mar 2015 16:58:35 +0100 +Subject: [PATCH] add missing includes for assert() + +--- + include/mdds/multi_type_vector_types.hpp | 1 + + include/mdds/quad_node.hpp | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp +index 0a36333..3899acd 100644 +--- a/include/mdds/multi_type_vector_types.hpp ++++ b/include/mdds/multi_type_vector_types.hpp +@@ -33,6 +33,7 @@ + #include "global.hpp" + + #include ++#include + + #ifdef MDDS_MULTI_TYPE_VECTOR_USE_DEQUE + #include +diff --git a/include/mdds/quad_node.hpp b/include/mdds/quad_node.hpp +index 4ece659..ab0b636 100644 +--- a/include/mdds/quad_node.hpp ++++ b/include/mdds/quad_node.hpp +@@ -30,6 +30,8 @@ + + #include "mdds/global.hpp" + ++#include ++ + #include + + namespace mdds { +-- +2.1.0 + diff --git a/mdds.spec b/mdds.spec index 113c104..8c5ea0c 100644 --- a/mdds.spec +++ b/mdds.spec @@ -3,7 +3,7 @@ Name: mdds Version: 0.12.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A collection of multi-dimensional data structures and indexing algorithms Group: Development/Libraries @@ -13,6 +13,8 @@ Source0: http://kohei.us/files/%{name}/src/%{name}_%{version}.tar.bz2 BuildRequires: boost-devel +Patch0: 0001-add-missing-includes-for-assert.patch + %description A collection of multi-dimensional data structures and indexing algorithms. @@ -59,6 +61,9 @@ make check %{?_smp_mflags} %doc AUTHORS COPYING NEWS README %changelog +* Thu Mar 05 2015 David Tardon - 0.12.0-2 +- add missing includes + * Tue Feb 17 2015 David Tardon - 0.12.0-1 - new upstream release