From bf52bd94a9395b0a6e96a6648bcb3a2aa301f32d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 1 Apr 2013 13:56:39 +0200 Subject: boost: fix -Wundef in multi_array/base.hpp Change-Id: Ice8a2863f7b8c80a1fa9875b099394a16590b97e --- boost/UnpackedTarball_boost.mk | 1 + boost/boost.wundef.patch.1 | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 boost/boost.wundef.patch.1 diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk index 298768210cf8..482bbfa26bda 100644 --- a/boost/UnpackedTarball_boost.mk +++ b/boost/UnpackedTarball_boost.mk @@ -34,6 +34,7 @@ boost_patches += boost.6940.glibc.patch boost_patches += boost.7774.warnings.patch.1 #https://svn.boost.org/trac/boost/ticket/6142 boost_patches += boost.6142.warnings.patch.1 +boost_patches += boost.wundef.patch.1 boost_patches += boost.windows.patch boost_patches += boost.vc2012.patch diff --git a/boost/boost.wundef.patch.1 b/boost/boost.wundef.patch.1 new file mode 100644 index 000000000000..981492858edc --- /dev/null +++ b/boost/boost.wundef.patch.1 @@ -0,0 +1,11 @@ +--- a/boost/multi_array/base.hpp 2013-04-01 13:53:59.565375431 +0200 ++++ b/boost/multi_array/base.hpp 2013-04-01 13:54:03.230375652 +0200 +@@ -65,7 +65,7 @@ + // object creation in small-memory environments. Thus, the objects + // can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS + // before loading multi_array.hpp. +-#if !BOOST_MULTI_ARRAY_NO_GENERATORS ++#ifndef BOOST_MULTI_ARRAY_NO_GENERATORS + namespace { + multi_array_types::extent_gen extents; + multi_array_types::index_gen indices; -- cgit v1.2.1