$NetBSD: patch-ar,v 1.2 2010/11/26 20:47:01 adam Exp $

--- boost/property_tree/detail/xml_parser_read_rapidxml.hpp.orig	2010-10-15 12:40:04.000000000 +0000
+++ boost/property_tree/detail/xml_parser_read_rapidxml.hpp
@@ -103,13 +103,13 @@ namespace boost { namespace property_tre
 
         try {
             // Parse using appropriate flags
-            const int f_tws = parse_normalize_whitespace
-                            | parse_trim_whitespace;
+            const int f_tws = (parse_normalize_whitespace
+                            | parse_trim_whitespace);
             const int f_c = parse_comment_nodes;
             // Some compilers don't like the bitwise or in the template arg.
-            const int f_tws_c = parse_normalize_whitespace
+            const int f_tws_c = (parse_normalize_whitespace
                               | parse_trim_whitespace
-                              | parse_comment_nodes;
+                              | parse_comment_nodes);
             xml_document<Ch> doc;
             if (flags & no_comments) {
                 if (flags & trim_whitespace)
