[mdds] fix breaking test

David Tardon dtardon at fedoraproject.org
Sat Jul 28 06:33:03 UTC 2012


commit d901dfad9764ef7fa53835f62a7e32567aead318
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Jul 28 08:27:24 2012 +0200

    fix breaking test

 0001-Fixes-build-breakage-on-Debian.patch |   24 ++++++++++++++++++++++++
 mdds.spec                                 |    2 ++
 2 files changed, 26 insertions(+), 0 deletions(-)
---
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 <kohei.yoshida at 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
+
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
 


More information about the scm-commits mailing list