external/boost/boost.wdeprecated-auto_ptr.patch.0 | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)
New commits: commit 21865dd39191bff9fd395d5c13ee4b32237e07ed Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 14 18:10:34 2013 +0100 external/clucene: -Werror,-Wdeprecated-declarations Change-Id: I05eb08927f27188eeb0998b09293fea05d037a41 diff --git a/external/boost/boost.wdeprecated-auto_ptr.patch.0 b/external/boost/boost.wdeprecated-auto_ptr.patch.0 index c1cfea7..0964110 100644 --- a/external/boost/boost.wdeprecated-auto_ptr.patch.0 +++ b/external/boost/boost.wdeprecated-auto_ptr.patch.0 @@ -69,6 +69,30 @@ +#endif + #endif +--- boost/ptr_container/ptr_vector.hpp ++++ boost/ptr_container/ptr_vector.hpp +@@ -16,6 +16,12 @@ + # pragma once + #endif + ++#include <config_global.h> ++#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE ++# pragma GCC diagnostic push ++# pragma GCC diagnostic ignored "-Wdeprecated-declarations" ++#endif ++ + #include <vector> + #include <boost/ptr_container/ptr_sequence_adapter.hpp> + +@@ -74,4 +80,8 @@ + + } + ++#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE ++# pragma GCC diagnostic pop ++#endif ++ + #endif --- boost/smart_ptr/detail/shared_count.hpp +++ boost/smart_ptr/detail/shared_count.hpp @@ -18,6 +18,12 @@ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits