Mercurial > hg > orthanc
annotate Resources/Patches/boost-1.69.0-linux-standard-base.patch @ 3293:394d7eab2c9c
fix travis
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 21 Feb 2019 21:52:06 +0100 |
parents | e8ce77f3dec1 |
children | bf77dbfe43b2 |
rev | line source |
---|---|
3282
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 diff -urEb boost_1_69_0.orig/boost/move/adl_move_swap.hpp boost_1_69_0/boost/move/adl_move_swap.hpp |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 --- boost_1_69_0.orig/boost/move/adl_move_swap.hpp 2019-02-21 16:37:13.000000000 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 +++ boost_1_69_0/boost/move/adl_move_swap.hpp 2019-02-21 16:41:20.685036310 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 @@ -28,6 +28,8 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 //Try to avoid including <algorithm>, as it's quite big |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 #if defined(_MSC_VER) && defined(BOOST_DINKUMWARE_STDLIB) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 #include <utility> //Dinkum libraries define std::swap in utility which is lighter than algorithm |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 +#elif defined(__LSB_VERSION__) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 +# include <utility> |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 #elif defined(BOOST_GNU_STDLIB) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 //For non-GCC compilers, where GNUC version is not very reliable, or old GCC versions |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 //use the good old stl_algobase header, which is quite lightweight |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 diff -urEb boost_1_69_0.orig/boost/thread/detail/config.hpp boost_1_69_0/boost/thread/detail/config.hpp |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 --- boost_1_69_0.orig/boost/thread/detail/config.hpp 2019-02-21 16:37:14.000000000 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 +++ boost_1_69_0/boost/thread/detail/config.hpp 2019-02-21 16:41:43.297035914 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 @@ -418,7 +418,7 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 #elif defined(BOOST_THREAD_CHRONO_MAC_API) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 #define BOOST_THREAD_HAS_MONO_CLOCK |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 -#elif defined(__ANDROID__) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 +#elif defined(__ANDROID__) || defined(__LSB_VERSION__) |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 #define BOOST_THREAD_HAS_MONO_CLOCK |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 #if defined(__ANDROID_API__) && __ANDROID_API__ >= 21 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
24 #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
25 diff -urEb boost_1_69_0.orig/boost/type_traits/detail/has_postfix_operator.hpp boost_1_69_0/boost/type_traits/detail/has_postfix_operator.hpp |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
26 --- boost_1_69_0.orig/boost/type_traits/detail/has_postfix_operator.hpp 2019-02-21 16:37:14.000000000 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
27 +++ boost_1_69_0/boost/type_traits/detail/has_postfix_operator.hpp 2019-02-21 16:43:44.569033793 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 @@ -85,8 +85,11 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
29 namespace boost { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
30 namespace detail { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
31 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
32 +// https://stackoverflow.com/a/15474269 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
33 +#ifndef Q_MOC_RUN |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
34 // This namespace ensures that argument-dependent name lookup does not mess things up. |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
35 namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
36 +#endif |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
37 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
38 // 1. a function to have an instance of type T without requiring T to be default |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
39 // constructible |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
40 @@ -234,7 +237,9 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
41 BOOST_STATIC_CONSTANT(bool, value = (trait_impl1 < Lhs_noref, Ret, BOOST_TT_FORBIDDEN_IF >::value)); |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
42 }; |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
43 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
44 +#ifndef Q_MOC_RUN |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
45 } // namespace impl |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
46 +#endif |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
47 } // namespace detail |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
48 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 // this is the accessible definition of the trait to end user |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
50 diff -urEb boost_1_69_0.orig/boost/type_traits/detail/has_prefix_operator.hpp boost_1_69_0/boost/type_traits/detail/has_prefix_operator.hpp |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
51 --- boost_1_69_0.orig/boost/type_traits/detail/has_prefix_operator.hpp 2019-02-21 16:37:14.000000000 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
52 +++ boost_1_69_0/boost/type_traits/detail/has_prefix_operator.hpp 2019-02-21 16:44:40.153032821 +0100 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
53 @@ -114,8 +114,11 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
54 namespace boost { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
55 namespace detail { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
56 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
57 +// https://stackoverflow.com/a/15474269 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
58 +#ifndef Q_MOC_RUN |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
59 // This namespace ensures that argument-dependent name lookup does not mess things up. |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
60 namespace BOOST_JOIN(BOOST_TT_TRAIT_NAME,_impl) { |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
61 +#endif |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
62 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
63 // 1. a function to have an instance of type T without requiring T to be default |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
64 // constructible |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
65 @@ -263,7 +266,9 @@ |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
66 BOOST_STATIC_CONSTANT(bool, value = (trait_impl1 < Rhs_noref, Ret, BOOST_TT_FORBIDDEN_IF >::value)); |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
67 }; |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
68 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
69 +#ifndef Q_MOC_RUN |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
70 } // namespace impl |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
71 +#endif |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
72 } // namespace detail |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
73 |
e8ce77f3dec1
upgrade to Boost 1.69.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
74 // this is the accessible definition of the trait to end user |