annotate Resources/Patches/boost-1.66.0-linux-standard-base.patch @ 3587:76b3228f99b0

Sort file lists to make builds reproducible in spite of nondeterministic filesystem readdir order. See https://reproducible-builds.org/ for why this matters.
author Bernhard M. Wiedemann <bernhard+hgcommit@lsmod.de>
date Thu, 05 Dec 2019 16:21:41 +0100
parents 94423976888e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2525
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb boost_1_66_0.orig/boost/move/adl_move_swap.hpp boost_1_66_0/boost/move/adl_move_swap.hpp
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 --- boost_1_66_0.orig/boost/move/adl_move_swap.hpp 2018-04-11 11:56:16.761768726 +0200
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 +++ boost_1_66_0/boost/move/adl_move_swap.hpp 2018-04-11 11:57:01.073881330 +0200
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 @@ -28,6 +28,8 @@
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 //Try to avoid including <algorithm>, as it's quite big
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 #if defined(_MSC_VER) && defined(BOOST_DINKUMWARE_STDLIB)
94423976888e boost 1.66.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
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 +#elif defined(__LSB_VERSION__)
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 +# include <utility>
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 #elif defined(BOOST_GNU_STDLIB)
94423976888e boost 1.66.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
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 //use the good old stl_algobase header, which is quite lightweight
94423976888e boost 1.66.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 Only in boost_1_66_0/boost/move: adl_move_swap.hpp~