summaryrefslogtreecommitdiffstats
path: root/boost/boost.gcc47679.patch
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-10 16:55:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-10 20:26:53 +0000
commite44bf622500365c1244febc5d4d8aceb3b0af428 (patch)
tree7de999c1d447283f75bbf47a01dc6fe54c691162 /boost/boost.gcc47679.patch
parentStatic defines when building static hunspell on Windows (diff)
downloadcore-e44bf622500365c1244febc5d4d8aceb3b0af428.tar.gz
core-e44bf622500365c1244febc5d4d8aceb3b0af428.zip
workaround gcc#47679
Diffstat (limited to 'boost/boost.gcc47679.patch')
-rw-r--r--boost/boost.gcc47679.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/boost/boost.gcc47679.patch b/boost/boost.gcc47679.patch
new file mode 100644
index 000000000000..4af42b0dc854
--- /dev/null
+++ b/boost/boost.gcc47679.patch
@@ -0,0 +1,15 @@
+--- misc/boost_1_44_0/compare_pointees.hpp 2011-02-10 16:39:05.960176555 +0000
++++ misc/build/boost_1_44_0/boost/utility/compare_pointees.hpp 2011-02-10 16:40:59.091423279 +0000
+@@ -29,7 +29,11 @@
+ inline
+ bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y )
+ {
+- return (!x) != (!y) ? false : ( !x ? true : (*x) == (*y) ) ;
++ if ((!x) != (!y))
++ return false;
++ if (!x)
++ return true;
++ return (*x) == (*y);
+ }
+
+ template<class OptionalPointee>