[Libreoffice-commits] core.git: boost/boost.3093.warnings.patch boost/UnpackedTarball_boost.mk

Isamu Mogi saturday6c at gmail.com
Fri May 17 08:33:06 PDT 2013


 boost/UnpackedTarball_boost.mk  |    2 ++
 boost/boost.3093.warnings.patch |   11 +++++++++++
 2 files changed, 13 insertions(+)

New commits:
commit d68243cd663e55418831a157615ea588848804bb
Author: Isamu Mogi <saturday6c at gmail.com>
Date:   Fri May 17 21:20:29 2013 +0900

    Fix warnings by shadowing variables in boost/logic/tribool.hpp
    
    Change-Id: I7d85cdb5e32802ddfd83a350f3daa49348bc18a6
    Reviewed-on: https://gerrit.libreoffice.org/3935
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk
index 658fcb0..ba497d0 100644
--- a/boost/UnpackedTarball_boost.mk
+++ b/boost/UnpackedTarball_boost.mk
@@ -8,6 +8,8 @@
 #
 
 boost_patches :=
+#https://svn.boost.org/trac/boost/ticket/3093
+boost_patches += boost.3093.warnings.patch
 #https://svn.boost.org/trac/boost/ticket/3780
 boost_patches += boost.3780.aliasing.patch
 #https://svn.boost.org/trac/boost/ticket/4127
diff --git a/boost/boost.3093.warnings.patch b/boost/boost.3093.warnings.patch
new file mode 100755
index 0000000..1b2bf6d
--- /dev/null
+++ b/boost/boost.3093.warnings.patch
@@ -0,0 +1,11 @@
+--- misc/boost_1_44_0/boost/logic/tribool.hpp	Sun Nov 25 18:07:19 2007
++++ misc/build/boost_1_44_0/boost/logic/tribool.hpp	Fri May 17 12:03:35 2013
+@@ -93,7 +93,7 @@
+    *
+    * \throws nothrow
+    */
+-  tribool(bool value) : value(value? true_value : false_value) {}
++  tribool(bool initial_value) : value(initial_value? true_value : false_value) {}
+ 
+   /**
+    * Construct a new 3-state boolean value with an indeterminate value.


More information about the Libreoffice-commits mailing list