| 1 | #␊ |
| 2 | # old_revision [06738e14fae8309878e62cab9ea191be8fe891ce]␊ |
| 3 | #␊ |
| 4 | # patch "test/unit/tests/xdelta.cc"␊ |
| 5 | # from [4aff975cfd9a9cf18c26f70118e2895880ed6100]␊ |
| 6 | # to [f0e8c422284360f40c65ddc779da1c629f412827]␊ |
| 7 | #␊ |
| 8 | ============================================================␊ |
| 9 | --- test/unit/tests/xdelta.cc␉4aff975cfd9a9cf18c26f70118e2895880ed6100␊ |
| 10 | +++ test/unit/tests/xdelta.cc␉f0e8c422284360f40c65ddc779da1c629f412827␊ |
| 11 | @@ -8,11 +8,16 @@␊ |
| 12 | // PURPOSE.␊ |
| 13 | ␊ |
| 14 | #include "../../../src/base.hh"␊ |
| 15 | +␊ |
| 16 | +// <boost/math/special_functions/detail/lgamma_small.hpp> uses L().␊ |
| 17 | +// This conflicts with a #define in "../../../src/sanity.hh"␊ |
| 18 | +// Workaround: Include BOOST header before "../xdelta.hh"␊ |
| 19 | +#include <boost/random.hpp>␊ |
| 20 | +␊ |
| 21 | #include "../unit_tests.hh"␊ |
| 22 | #include "../../../src/xdelta.hh"␊ |
| 23 | ␊ |
| 24 | #include "../../../src/adler32.hh"␊ |
| 25 | -#include <boost/random.hpp>␊ |
| 26 | ␊ |
| 27 | boost::mt19937 xdelta_prng;␊ |
| 28 | boost::uniform_smallint<char> xdelta_chargen('a', 'z');␊ |
