Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:geewass:pharos
pharos
boost-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File boost-fix.patch of Package pharos
diff --git a/gtest/src/gtest-port.cc b/gtest/src/gtest-port.cc index e5bf3dd..d566abe 100644 --- a/gtest/src/gtest-port.cc +++ b/gtest/src/gtest-port.cc @@ -35,7 +35,8 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> #if GTEST_OS_WINDOWS # include <windows.h> diff --git a/libpharos/apidb.cpp b/libpharos/apidb.cpp index 9b6dfe8..1aa993f 100644 --- a/libpharos/apidb.cpp +++ b/libpharos/apidb.cpp @@ -12,6 +12,7 @@ #include "demangle.hpp" #include "threads.hpp" #include <sqlite3.h> +#include <boost/filesystem/fstream.hpp> #include <boost/range/adaptor/map.hpp> #if SQLITE_VERSION_NUMBER >= 3014000 diff --git a/libpharos/apigraph.cpp b/libpharos/apigraph.cpp index 2c8c782..8176fc6 100644 --- a/libpharos/apigraph.cpp +++ b/libpharos/apigraph.cpp @@ -6,7 +6,8 @@ #include <stdio.h> #include <iostream> -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/graph_utility.hpp> #include <boost/graph/graphviz.hpp> diff --git a/libpharos/apisig.hpp b/libpharos/apisig.hpp index f9cb71d..697291d 100644 --- a/libpharos/apisig.hpp +++ b/libpharos/apisig.hpp @@ -4,7 +4,8 @@ #define Pharos_APISIG_H_ #include <iostream> -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> // Define to an annoying warning in later versions of Boost that results from including the // property_tree stuff. diff --git a/libpharos/config.hpp b/libpharos/config.hpp index 1ac2e49..7616640 100644 --- a/libpharos/config.hpp +++ b/libpharos/config.hpp @@ -4,7 +4,8 @@ #define Config_H #include "yaml.hpp" -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> #include <boost/algorithm/string.hpp> #include <boost/optional.hpp> diff --git a/libpharos/defuse.hpp b/libpharos/defuse.hpp index 7eff717..6c86bed 100644 --- a/libpharos/defuse.hpp +++ b/libpharos/defuse.hpp @@ -3,7 +3,8 @@ #ifndef Pharos_DefUse_H #define Pharos_DefUse_H -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> #include <map> #include <vector> #include <string> diff --git a/libpharos/md5.cpp b/libpharos/md5.cpp index 070a63f..13e9122 100644 --- a/libpharos/md5.cpp +++ b/libpharos/md5.cpp @@ -36,7 +36,8 @@ */ #include "md5.hpp" -#include <fstream> +//include <fstream> +#include <boost/filesystem/fstream.hpp> #include <sstream> #include <iomanip> #include <stdexcept> diff --git a/libpharos/oosolver.cpp b/libpharos/oosolver.cpp index ea9057f..bf72788 100644 --- a/libpharos/oosolver.cpp +++ b/libpharos/oosolver.cpp @@ -1,6 +1,7 @@ // Copyright 2016-2022 Carnegie Mellon University. See LICENSE file for terms. // Author: Cory Cohen +#include <boost/filesystem/fstream.hpp> #include <boost/range/adaptor/map.hpp> #include "oosolver.hpp" diff --git a/libpharos/partitioner.cpp b/libpharos/partitioner.cpp index fa21c04..df9e596 100644 --- a/libpharos/partitioner.cpp +++ b/libpharos/partitioner.cpp @@ -2,7 +2,8 @@ #include <stdarg.h> #include <stdexcept> -#include <fstream> +//#include <fstream> +#include <boost/filesystem/fstream.hpp> #include <boost/iostreams/filtering_streambuf.hpp> #include <boost/iostreams/filter/gzip.hpp> #include <boost/archive/binary_oarchive.hpp> diff --git a/libpharos/typedb.cpp b/libpharos/typedb.cpp index c6b0e19..741c0cc 100644 --- a/libpharos/typedb.cpp +++ b/libpharos/typedb.cpp @@ -5,6 +5,7 @@ #include <stdexcept> #include <cassert> #include <locale> +#include <boost/filesystem/fstream.hpp> #include <boost/locale/encoding_utf.hpp> #include <boost/range/adaptor/reversed.hpp> diff --git a/libpharos/types.cpp b/libpharos/types.cpp index 8f95133..f6b352d 100644 --- a/libpharos/types.cpp +++ b/libpharos/types.cpp @@ -1,6 +1,7 @@ // Copyright 2016-2022 Carnegie Mellon University. See LICENSE file for terms. // Author: Jeff Gennari +#include <boost/filesystem/fstream.hpp> #include <boost/range/adaptor/map.hpp> #include "types.hpp" diff --git a/libpharos/util.cpp b/libpharos/util.cpp index 1951853..5c225a5 100644 --- a/libpharos/util.cpp +++ b/libpharos/util.cpp @@ -14,6 +14,8 @@ #include <curses.h> #include <term.h> +#include <boost/filesystem/fstream.hpp> + namespace pharos { // Return true if we're on a color terminal, and false if not. diff --git a/tools/apianalyzer/apianalyzer.cpp b/tools/apianalyzer/apianalyzer.cpp index 852314b..72c06ed 100644 --- a/tools/apianalyzer/apianalyzer.cpp +++ b/tools/apianalyzer/apianalyzer.cpp @@ -6,9 +6,10 @@ #include <stdio.h> #include <iostream> -#include <fstream> +//include <fstream> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include <libpharos/pdg.hpp> #include <libpharos/misc.hpp> diff --git a/tools/apianalyzer/apigraphgen.cpp b/tools/apianalyzer/apigraphgen.cpp index ba8256c..fc8209c 100644 --- a/tools/apianalyzer/apigraphgen.cpp +++ b/tools/apianalyzer/apigraphgen.cpp @@ -8,6 +8,7 @@ #include <libpharos/apisig.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> using namespace pharos; diff --git a/tools/apilookup/apilookup.cpp b/tools/apilookup/apilookup.cpp index 22e284f..e2ebcd1 100644 --- a/tools/apilookup/apilookup.cpp +++ b/tools/apilookup/apilookup.cpp @@ -9,6 +9,7 @@ #include <libpharos/json.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> using namespace pharos; diff --git a/tools/callanalyzer/callanalyzer.cpp b/tools/callanalyzer/callanalyzer.cpp index ba088e8..33026dd 100644 --- a/tools/callanalyzer/callanalyzer.cpp +++ b/tools/callanalyzer/callanalyzer.cpp @@ -9,6 +9,7 @@ #include <libpharos/bua.hpp> #include <boost/range/combine.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> // Move our code out of the global namespace to avoid a conflict with clog() from complex.h namespace { diff --git a/tools/fn2hash/fn2hash.cpp b/tools/fn2hash/fn2hash.cpp index 5284783..1f6c06e 100644 --- a/tools/fn2hash/fn2hash.cpp +++ b/tools/fn2hash/fn2hash.cpp @@ -13,6 +13,7 @@ #include <libpharos/bua.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> using namespace pharos; diff --git a/tools/fn2yara/fn2yara.cpp b/tools/fn2yara/fn2yara.cpp index 154c852..d336190 100644 --- a/tools/fn2yara/fn2yara.cpp +++ b/tools/fn2yara/fn2yara.cpp @@ -12,6 +12,7 @@ #include <libpharos/bua.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #define DEFAULT_MIN_INSTRUCTIONS 5 #define DEFAULT_MAX_BYTES 10000 diff --git a/tools/misc/mkir.cpp b/tools/misc/mkir.cpp index a95396e..8eb342d 100644 --- a/tools/misc/mkir.cpp +++ b/tools/misc/mkir.cpp @@ -8,6 +8,7 @@ #include <boost/graph/graphviz.hpp> #include <boost/graph/topological_sort.hpp> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include <libpharos/rose.hpp> #include <Rose/BinaryAnalysis/Partitioner2/Partitioner.h> diff --git a/tools/pathanalyzer/pathanalyzer.cpp b/tools/pathanalyzer/pathanalyzer.cpp index 9842496..df215b4 100644 --- a/tools/pathanalyzer/pathanalyzer.cpp +++ b/tools/pathanalyzer/pathanalyzer.cpp @@ -11,6 +11,7 @@ #include <Sawyer/GraphBoost.h> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include <boost/graph/graphviz.hpp> #include <boost/algorithm/string/replace.hpp> diff --git a/tools/pathanalyzer/pathanalyzer_test.cpp b/tools/pathanalyzer/pathanalyzer_test.cpp index aeec256..2cc5b71 100644 --- a/tools/pathanalyzer/pathanalyzer_test.cpp +++ b/tools/pathanalyzer/pathanalyzer_test.cpp @@ -1,6 +1,7 @@ // Copyright 2020-2021 Carnegie Mellon University. See LICENSE file for terms. #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include <libpharos/bua.hpp> #include <libpharos/spacer.hpp>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor