
* Autodock vina: spec * Adding comment to patch. The implemnetation of boost is version dependent on older boost replacing depecrated function of boost. * Adding in boost version dependency
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
--- autodock_vina_1_1_2/src/split/split.cpp 2011-05-11 15:35:00.000000000 -0500
|
|
+++ autodock_vina_1_1_2/src/split/split.cpp 2017-09-11 10:06:44.933452243 -0500
|
|
@@ -38,7 +38,7 @@
|
|
using boost::filesystem::path;
|
|
|
|
path make_path(const std::string& str) {
|
|
- return path(str, boost::filesystem::native);
|
|
+ return path(str);
|
|
}
|
|
|
|
std::string default_prefix(const std::string& input_name, const std::string& add) {
|
|
@@ -208,7 +208,7 @@
|
|
write_multimodel_pdbqt(tmp, ligand_prefix, flex_prefix);
|
|
}
|
|
catch(file_error& e) {
|
|
- std::cerr << "\n\nError: could not open \"" << e.name.native_file_string() << "\" for " << (e.in ? "reading" : "writing") << ".\n";
|
|
+ std::cerr << "\n\nError: could not open \"" << e.name.filename() << "\" for " << (e.in ? "reading" : "writing") << ".\n";
|
|
return 1;
|
|
}
|
|
catch(boost::filesystem::filesystem_error& e) {
|
|
@@ -220,7 +220,7 @@
|
|
return 1;
|
|
}
|
|
catch(parse_error& e) {
|
|
- std::cerr << "\n\nParse error on line " << e.line << " in file \"" << e.file.native_file_string() << "\": " << e.reason << '\n';
|
|
+ std::cerr << "\n\nParse error on line " << e.line << " in file \"" << e.file.filename() << "\": " << e.reason << '\n';
|
|
return 1;
|
|
}
|
|
catch(std::bad_alloc&) {
|