diff --git a/0001-Fixes-build-breakage-on-Debian.patch b/0001-Fixes-build-breakage-on-Debian.patch new file mode 100644 index 0000000..fd2d582 --- /dev/null +++ b/0001-Fixes-build-breakage-on-Debian.patch @@ -0,0 +1,24 @@ +From 770ff91820f8ed95f7ecc40b72b78ae57ee5d277 Mon Sep 17 00:00:00 2001 +From: Kohei Yoshida +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 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 + diff --git a/mdds.spec b/mdds.spec index 888565f..f1d4289 100644 --- a/mdds.spec +++ b/mdds.spec @@ -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