fix breaking test

This commit is contained in:
David Tardon 2012-07-28 08:27:24 +02:00
parent d46c9c5a85
commit d901dfad97
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From 770ff91820f8ed95f7ecc40b72b78ae57ee5d277 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@gmail.com>
Date: Thu, 19 Jul 2012 15:05:47 -0400
Subject: [PATCH] Fixes build breakage on Debian.
---
include/mdds/multi_type_vector_types.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp
index f27ac88..ac2b0ef 100644
--- a/include/mdds/multi_type_vector_types.hpp
+++ b/include/mdds/multi_type_vector_types.hpp
@@ -355,6 +355,7 @@ struct managed_element_block : public copyable_element_block<managed_element_blo
typedef managed_element_block<_TypeId,_Data> self_type;
using base_type::get;
+ using base_type::set_value;
using base_type::m_array;
managed_element_block() : base_type() {}
--
1.7.11.2

View File

@ -7,6 +7,7 @@ Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/multidimalgorithm/
Source0: http://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2
Patch0: 0001-Fixes-build-breakage-on-Debian.patch
BuildRequires: boost-devel
@ -36,6 +37,7 @@ Headers for %{name}.
%prep
%setup -q -n %{name}_%{version}
%patch0 -p1
# this is only used in tests
sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in