Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/mdds/files: mdds-0.11.2-include_algorithm_unconditionally.patch
Date: Sun, 08 Feb 2015 00:23:46
Message-Id: 20150208002341.0FC931148E@oystercatcher.gentoo.org
1 polynomial-c 15/02/08 00:23:41
2
3 Added: mdds-0.11.2-include_algorithm_unconditionally.patch
4 Log:
5 Revbump which contains an upstream fix for boost-1.57.0
6
7 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
8
9 Revision Changes Path
10 1.1 dev-util/mdds/files/mdds-0.11.2-include_algorithm_unconditionally.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mdds/files/mdds-0.11.2-include_algorithm_unconditionally.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/mdds/files/mdds-0.11.2-include_algorithm_unconditionally.patch?rev=1.1&content-type=text/plain
14
15 Index: mdds-0.11.2-include_algorithm_unconditionally.patch
16 ===================================================================
17 From c45e0499dded11dc2aacea40b470ab1431ea535a Mon Sep 17 00:00:00 2001
18 From: David Tardon <dtardon@××××××.com>
19 Date: Thu, 29 Jan 2015 10:04:56 +0100
20 Subject: [PATCH] <algorithm> is needed unconditionally
21
22 ---
23 include/mdds/multi_type_vector_types.hpp | 3 ++-
24 1 file changed, 2 insertions(+), 1 deletion(-)
25
26 diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp
27 index db8d584..0a36333 100644
28 --- a/include/mdds/multi_type_vector_types.hpp
29 +++ b/include/mdds/multi_type_vector_types.hpp
30 @@ -32,6 +32,8 @@
31 #include "compat/unique_ptr.hpp"
32 #include "global.hpp"
33
34 +#include <algorithm>
35 +
36 #ifdef MDDS_MULTI_TYPE_VECTOR_USE_DEQUE
37 #include <deque>
38 #else
39 @@ -40,7 +42,6 @@
40 #include <boost/noncopyable.hpp>
41
42 #if defined(MDDS_UNIT_TEST) || defined (MDDS_MULTI_TYPE_VECTOR_DEBUG)
43 -#include <algorithm>
44 #include <iostream>
45 #include <sstream>
46 using std::cout;
47 --
48 2.2.2