On Thursday, 27 January 2022 13.04.12 WET José Abílio Matos wrote:
> Hi,
> 
>   we are at the time of year again. :-)
> 
> 
> The gcc project will release version 12 and in Fedora we are rebuilding all
> packages with it.

The changes were minimal and already referred here.

It was enough to patch two files. The equivalent patch is already applied to 
the devel branch.

-- 
José Abílio
diff -ur lyx-2.3.6.1.orig/src/insets/InsetListings.cpp lyx-2.3.6.1/src/insets/InsetListings.cpp
--- lyx-2.3.6.1.orig/src/insets/InsetListings.cpp	2020-12-29 16:50:45.000000000 +0000
+++ lyx-2.3.6.1/src/insets/InsetListings.cpp	2022-02-03 16:22:37.983196716 +0000
@@ -44,6 +44,7 @@
 
 #include "support/regex.h"
 
+#include <cstring>
 #include <sstream>
 
 using namespace std;
Only in lyx-2.3.6.1/src/insets: InsetListings.cpp~
diff -ur lyx-2.3.6.1.orig/src/lyxfind.cpp lyx-2.3.6.1/src/lyxfind.cpp
--- lyx-2.3.6.1.orig/src/lyxfind.cpp	2020-12-29 16:50:45.000000000 +0000
+++ lyx-2.3.6.1/src/lyxfind.cpp	2022-02-03 16:01:54.997152176 +0000
@@ -52,6 +52,7 @@
 #include "support/lstrings.h"
 
 #include "support/regex.h"
+#include <iterator>
 
 using namespace std;
 using namespace lyx::support;
Only in lyx-2.3.6.1/src: lyxfind.cpp~
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to