Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lyx for openSUSE:Factory checked in 
at 2022-05-14 22:57:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lyx (Old)
 and      /work/SRC/openSUSE:Factory/.lyx.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lyx"

Sat May 14 22:57:07 2022 rev:105 rq:977248 version:2.3.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/lyx/lyx.changes  2021-06-01 10:41:30.185225874 
+0200
+++ /work/SRC/openSUSE:Factory/.lyx.new.1538/lyx.changes        2022-05-14 
22:58:53.215495199 +0200
@@ -1,0 +2,6 @@
+Sat May 14 14:28:50 UTC 2022 - Cor Blom <corne...@solcon.nl>
+
+- Add lyx-2.3.6-fix-gcc12.patch to fix build with gcc-12
+- Use autosetup
+
+-------------------------------------------------------------------

New:
----
  lyx-2.3.6-fix-gcc12.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lyx.spec ++++++
--- /var/tmp/diff_new_pack.OdU5DM/_old  2022-05-14 22:58:53.759495879 +0200
+++ /var/tmp/diff_new_pack.OdU5DM/_new  2022-05-14 22:58:53.763495883 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lyx
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,8 @@
 # PATCH-FIX-UPSTREAM remove_python_shebang.patch mc...@suse.com
 # remove all instances of python2 shebang lines
 Patch1:         remove_python_shebang.patch
+# Fix build with gcc-12
+Patch2:         lyx-2.3.6-fix-gcc12.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bc
@@ -141,9 +143,7 @@
 A collection of Math symbol fonts for LyX.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%autosetup -p1
 
 %build
 #./autogen.sh

++++++ lyx-2.3.6-fix-gcc12.patch ++++++
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~

Reply via email to