lyx/lyx-2.3.6-fix-gcc12.patch

25 lines
832 B
Diff

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~