Hello community,

here is the log from the commit of package libreoffice for openSUSE:Factory 
checked in at 2019-03-10 09:28:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice (Old)
 and      /work/SRC/openSUSE:Factory/.libreoffice.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libreoffice"

Sun Mar 10 09:28:53 2019 rev:173 rq:682738 version:6.2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes  2019-03-07 
10:49:47.953863732 +0100
+++ /work/SRC/openSUSE:Factory/.libreoffice.new.28833/libreoffice.changes       
2019-03-10 09:29:26.276264395 +0100
@@ -1,0 +2,11 @@
+Fri Mar  8 09:23:06 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Require firebird as default driver for base if enabled
+
+-------------------------------------------------------------------
+Thu Mar  7 09:13:48 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch to fix bsc#1127857:
+  * 0001-Fix-LTO-segfault-in-libtest_sw_uwriter-test.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-LTO-segfault-in-libtest_sw_uwriter-test.patch

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

Other differences:
------------------
++++++ libreoffice.spec ++++++
--- /var/tmp/diff_new_pack.jdUKFI/_old  2019-03-10 09:29:32.288262886 +0100
+++ /var/tmp/diff_new_pack.jdUKFI/_new  2019-03-10 09:29:32.292262886 +0100
@@ -103,6 +103,7 @@
 Patch5:         old-boost.patch
 Patch6:         kde5-32bit-build-fix.patch
 Patch7:         libreoffice-postgresql.patch
+Patch8:         0001-Fix-LTO-segfault-in-libtest_sw_uwriter-test.patch
 # try to save space by using hardlinks
 Patch990:       install-with-hardlinks.diff
 # save time by relying on rpm check rather than doing stupid find+grep
@@ -407,14 +408,10 @@
 Requires:       %{name} = %{version}
 Requires:       pentaho-reporting-flow-engine
 Obsoletes:      %{name}-base-drivers-mysql
-%if 0%{?suse_version} <= 1500
 Supplements:    %{name}
-%endif
-%ifarch %{ix86}
-Requires:       jre-32 >= 1.6
-%endif
-%ifarch x86_64 aarch64
-Requires:       jre-64 >= 1.6
+# default database connector
+%if %{with firebird}
+Requires:       %{name}-base-drivers-firebird
 %endif
 
 %description base
@@ -973,6 +970,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7
+%patch8 -p1
 %patch990 -p1
 %patch991 -p1
 

++++++ 0001-Fix-LTO-segfault-in-libtest_sw_uwriter-test.patch ++++++
>From a1cd2b69ed7af0b9a07a099c38f7854b4b43d6be Mon Sep 17 00:00:00 2001
From: marxin <[email protected]>
Date: Thu, 7 Mar 2019 09:28:14 +0100
Subject: [PATCH] Fix LTO segfault in libtest_sw_uwriter test.

The problem was seen here:
https://bugzilla.suse.com/show_bug.cgi?id=1127857.

One needs to call SwGlobals::ensure in order to initialize
SfxApplication via SfxApplication::SetModule(SfxToolsModule::Writer.

Change-Id: I3add24b56dc44a93ad81c1b52539da821f6244fc
---
 sw/qa/core/test_ToxTextGenerator.cxx | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sw/qa/core/test_ToxTextGenerator.cxx 
b/sw/qa/core/test_ToxTextGenerator.cxx
index 25304a382ed3..ffe76233282e 100644
--- a/sw/qa/core/test_ToxTextGenerator.cxx
+++ b/sw/qa/core/test_ToxTextGenerator.cxx
@@ -22,10 +22,17 @@
 #include <cppunit/extensions/HelperMacros.h>
 #include <cppunit/plugin/TestPlugIn.h>
 
+#include <swdll.hxx>
+
 using namespace sw;
 
 class ToxTextGeneratorTest : public CppUnit::TestFixture {
 public:
+    virtual void setUp() override
+    {
+        SwGlobals::ensure();
+    }
+
     void EmptyStringIsReturnedForPageNumberPlaceholderOfZeroItems();
     void OneAtSignIsReturnedForPageNumberPlaceholderOfOneItem();
     void TwoAtSignsAreReturnedForPageNumberPlaceholderOfOneItem();
-- 
2.21.0













Reply via email to