summaryrefslogtreecommitdiff
path: root/boost/boost_1_44_0-logical-op-parentheses.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost/boost_1_44_0-logical-op-parentheses.patch')
-rw-r--r--boost/boost_1_44_0-logical-op-parentheses.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-logical-op-parentheses.patch b/boost/boost_1_44_0-logical-op-parentheses.patch
new file mode 100644
index 000000000000..33a8ea083809
--- /dev/null
+++ b/boost/boost_1_44_0-logical-op-parentheses.patch
@@ -0,0 +1,12 @@
+--- misc/boost_1_44_0/boost/spirit/home/classic/core/composite/directives.hpp
++++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/composite/directives.hpp
+@@ -364,7 +364,7 @@
+
+ if (l || r)
+ {
+- if (l.length() < r.length() && l || !r)
++ if ((l.length() < r.length() && l) || !r)
+ {
+ scan.first = save;
+ return l;
+