File wxMaxima-string-type-conversion.patch of Package wxMaxima

Index: wxmaxima-Version-20.06.6/src/WXMformat.cpp
===================================================================
--- wxmaxima-Version-20.06.6.orig/src/WXMformat.cpp
+++ wxmaxima-Version-20.06.6/src/WXMformat.cpp
@@ -221,7 +221,7 @@ GroupCell *TreeFromWXM(const wxArrayStri
 
   //! Consumes and concatenates lines until a closing tag is reached,
   //! consumes the tag and returns the line.
-  const auto getLinesUntil = [&wxmLine, end](const wxChar *tag) -> wxString
+  const auto getLinesUntil = [&wxmLine, end](const wxString &tag) -> wxString
   {
     wxString line;
     while (wxmLine != end)
openSUSE Build Service is sponsored by