Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > afbf95650f3b06a30139c74063748025 > files > 5

flightcrew-0.7.2-14.mga5.src.rpm

From b67de26d18ccb37b663eaacb8c2cfbbae54c7987 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan[at]danny.cz>
Date: Wed, 18 Jan 2012 20:40:27 +0100
Subject: [PATCH 05/11] fix build with boost >= 1.48

---
 .../Validators/Opf/ReachabilityAnalysis.cpp        |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp b/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp
index 24c0f28..4a83fc0 100644
--- a/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp
+++ b/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp
@@ -26,7 +26,9 @@
 #include <XmlUtils.h>
 #include "Misc/DetermineMimetype.h"
 #include "Misc/Utilities.h"
+#include <boost/version.hpp>
 
+#if BOOST_VERSION < 104800
 namespace boost
 {
 
@@ -48,6 +50,7 @@ namespace filesystem3
 } // namespace filesystem3
 
 } // namespace boost
+#endif
 
 
 namespace FlightCrew
-- 
1.7.7.4