X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpatches%2Fdisable_filesystem3_overload;fp=debian%2Fpatches%2Fdisable_filesystem3_overload;h=a68336c1e90135f1d994b0f536de775d22c6f69e;hb=ff350e59ac0df04f6adc52d32bc0c64ff8cfa5b5;hp=0000000000000000000000000000000000000000;hpb=af4f4c891aa32a065faf1b1d646ac3a9de9c3c57;p=flightcrew.git diff --git a/debian/patches/disable_filesystem3_overload b/debian/patches/disable_filesystem3_overload new file mode 100644 index 0000000..a68336c --- /dev/null +++ b/debian/patches/disable_filesystem3_overload @@ -0,0 +1,51 @@ +--- a/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp ++++ b/src/FlightCrew/Validators/Opf/ReachabilityAnalysis.cpp +@@ -27,27 +27,27 @@ + #include "Misc/DetermineMimetype.h" + #include "Misc/Utilities.h" + +-namespace boost +-{ +- +-namespace filesystem3 +-{ +- // This overload of the boost hash_value func +- // is necessary so that we can put fs::paths +- // in boost::unordered_sets +- std::size_t hash_value( const fs::path &mypath ) +- { +-#ifdef _WIN32 +- boost::hash< std::wstring > hasher; +- return hasher( mypath.generic_wstring() ); +-#else +- boost::hash< std::string > hasher; +- return hasher( mypath.generic_string() ); +-#endif +- } +-} // namespace filesystem3 +- +-} // namespace boost ++// namespace boost ++// { ++// ++// namespace filesystem3 ++// { ++// // This overload of the boost hash_value func ++// // is necessary so that we can put fs::paths ++// // in boost::unordered_sets ++// std::size_t hash_value( const fs::path &mypath ) ++// { ++// #ifdef _WIN32 ++// boost::hash< std::wstring > hasher; ++// return hasher( mypath.generic_wstring() ); ++// #else ++// boost::hash< std::string > hasher; ++// return hasher( mypath.generic_string() ); ++// #endif ++// } ++// } // namespace filesystem3 ++// ++// } // namespace boost + + + namespace FlightCrew