[Libreoffice-commits] core.git: boost/boost.wundef.patch.1 boost/UnpackedTarball_boost.mk

Michael Stahl mstahl at redhat.com
Mon Apr 1 04:59:11 PDT 2013


 boost/UnpackedTarball_boost.mk |    1 +
 boost/boost.wundef.patch.1     |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit bf52bd94a9395b0a6e96a6648bcb3a2aa301f32d
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Apr 1 13:56:39 2013 +0200

    boost: fix -Wundef in multi_array/base.hpp
    
    Change-Id: Ice8a2863f7b8c80a1fa9875b099394a16590b97e

diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index 2987682..482bbfa 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 0000000..9814928
--- /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;


More information about the Libreoffice-commits mailing list