diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch index cf7603adb0a1..d5772057970e 100644 --- a/boost/boost_1_44_0-clang-warnings.patch +++ b/boost/boost_1_44_0-clang-warnings.patch @@ -80,6 +80,45 @@ template static void plus_equal(Token &t, const Value &v) { t += v; +--- misc/boost_1_44_0/boost/random/lagged_fibonacci.hpp ++++ misc/build/boost_1_44_0/boost/random/lagged_fibonacci.hpp +@@ -16,6 +16,10 @@ + #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP + #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP + ++#if defined __GNUC__ ++#pragma GCC system_header ++#endif ++ + #include + #include + #include // std::max +--- misc/boost_1_44_0/boost/random/shuffle_output.hpp ++++ misc/build/boost_1_44_0/boost/random/shuffle_output.hpp +@@ -16,6 +16,10 @@ + #ifndef BOOST_RANDOM_SHUFFLE_OUTPUT_HPP + #define BOOST_RANDOM_SHUFFLE_OUTPUT_HPP + ++#if defined __GNUC__ ++#pragma GCC system_header ++#endif ++ + #include + #include // std::copy + #include +--- misc/boost_1_44_0/boost/random/subtract_with_carry.hpp ++++ misc/build/boost_1_44_0/boost/random/subtract_with_carry.hpp +@@ -16,6 +16,10 @@ + #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP + #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP + ++#if defined __GNUC__ ++#pragma GCC system_header ++#endif ++ + #include + #include + #include // std::equal --- misc/boost_1_44_0/boost/uuid/name_generator.hpp +++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp @@ -72,10 +72,10 @@