File coot-c++17.patch of Package coot

--- a/layla/ligand_editor_canvas.cpp	2025-12-24 06:18:59.000000000 +0100
+++ b/layla/ligand_editor_canvas.cpp	2025-12-24 16:39:07.402525214 +0100
@@ -712,7 +712,7 @@
 std::string coot_ligand_editor_canvas_get_inchi_key_for_molecule(CootLigandEditorCanvas* self, unsigned int molecule_idx) noexcept {
 
    std::cout << "comparing molecule_idx " << molecule_idx << std::endl;
-   std::cout << "rdkit moelcules: " << self->rdkit_molecules << std::endl;
+   //std::cout << "rdkit moelcules: " << self->rdkit_molecules << std::endl;
 
    std::string s;
    if (molecule_idx < self->rdkit_molecules->size()) {
--- a/src/molecule-class-info.h	2025-12-24 06:18:59.000000000 +0100
+++ b/src/molecule-class-info.h	2025-12-24 16:50:38.089547141 +0100
@@ -33,6 +33,8 @@
 #include <string>
 #endif // HAVE_STRING
 
+#include <iomanip>   // setfill, setw
+
 #include <deque>
 
 #include "compat/coot-sysdep.h"
openSUSE Build Service is sponsored by