diff options
Diffstat (limited to 'sci-chemistry/pymol/files/pymol-1.7.3.1-maeffplugin.cpp.patch')
-rw-r--r-- | sci-chemistry/pymol/files/pymol-1.7.3.1-maeffplugin.cpp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-chemistry/pymol/files/pymol-1.7.3.1-maeffplugin.cpp.patch b/sci-chemistry/pymol/files/pymol-1.7.3.1-maeffplugin.cpp.patch new file mode 100644 index 000000000000..cd4650bbf4e0 --- /dev/null +++ b/sci-chemistry/pymol/files/pymol-1.7.3.1-maeffplugin.cpp.patch @@ -0,0 +1,11 @@ +--- contrib/uiuc/plugins/molfile_plugin/src/maeffplugin_orig.cpp 2014-02-07 19:50:50.132261610 -0800 ++++ contrib/uiuc/plugins/molfile_plugin/src/maeffplugin.cpp 2014-02-07 19:52:12.527797099 -0800 +@@ -1983,7 +1983,7 @@ + } + } + catch (std::exception &e) { +- fprintf(stderr, e.what()); ++ fprintf(stderr, "%s", e.what()); + return MOLFILE_ERROR; + } + return MOLFILE_SUCCESS; |