Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sigil for openSUSE:Factory checked 
in at 2022-06-16 18:20:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sigil (Old)
 and      /work/SRC/openSUSE:Factory/.sigil.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sigil"

Thu Jun 16 18:20:24 2022 rev:27 rq:982738 version:1.9.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/sigil/sigil.changes      2022-05-23 
17:50:19.734879360 +0200
+++ /work/SRC/openSUSE:Factory/.sigil.new.1548/sigil.changes    2022-06-16 
18:21:24.428181926 +0200
@@ -1,0 +2,9 @@
+Wed Jun 15 05:53:23 UTC 2022 - ecsos <ec...@opensuse.org>
+
+- Add sigil-lto.patch to fix boo#1199981 
+  (Sigil EBUP editor terminates with SIGSEGV on startup.)
+  This can be removed again in version > 1.9.10
+
+  
https://github.com/Sigil-Ebook/Sigil/commit/3fd17410c31aca2000134ee28af9d42779fc88ea
+
+-------------------------------------------------------------------

New:
----
  sigil-lto.patch

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

Other differences:
------------------
++++++ sigil.spec ++++++
--- /var/tmp/diff_new_pack.5diFaA/_old  2022-06-16 18:21:26.328184628 +0200
+++ /var/tmp/diff_new_pack.5diFaA/_new  2022-06-16 18:21:26.332184634 +0200
@@ -30,6 +30,8 @@
 Source2:        %{name}.desktop
 # PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in 
pre section
 Patch0:         %{name}-gt-0.9.0-Dialogs-About.cpp.patch
+# PATCH-UPSTREAM - Fix Sigil EBUP editor terminates with SIGSEGV on startup
+Patch1:         %{name}-lto.patch
 BuildRequires:  boost-devel
 BuildRequires:  cmake >= 3.0
 BuildRequires:  dos2unix
@@ -116,7 +118,8 @@
 
 %prep
 %setup -q -n Sigil-%{version}
-%patch0 -p 1
+%patch0 -p1
+%patch1 -p1
 cp -v %{SOURCE1} .
 cp -v %{SOURCE2} .
 # rpmlint


++++++ sigil-lto.patch ++++++
>From 3fd17410c31aca2000134ee28af9d42779fc88ea Mon Sep 17 00:00:00 2001
From: Doug Massay <douglaslmas...@gmail.com>
Date: Tue, 7 Jun 2022 21:08:01 -0400
Subject: [PATCH] Because GCC's lto is willfully chossing to suck

---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c8fc81fbe..06a9eef7ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,6 +82,9 @@ if( UNIX AND NOT APPLE )
    # which point to directories outside the build tree to the install RPATH.
    # This will ensure the Qt5 lib directory is always included after install.
    SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+   # Because GCC's link time optimization is willfully choosing to suck.
+   add_compile_options(-fno-lto)
 endif()
 
 # Check if platform is 64 bit

Reply via email to