Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libvisio for openSUSE:Factory 
checked in at 2025-09-11 14:38:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvisio (Old)
 and      /work/SRC/openSUSE:Factory/.libvisio.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvisio"

Thu Sep 11 14:38:27 2025 rev:30 rq:1303740 version:0.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvisio/libvisio.changes        2025-09-03 
21:07:19.000345858 +0200
+++ /work/SRC/openSUSE:Factory/.libvisio.new.1977/libvisio.changes      
2025-09-11 14:40:06.421741503 +0200
@@ -1,0 +2,12 @@
+Thu Sep 11 01:14:17 UTC 2025 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * libvisio-optional.patch
+    + fix build with wider range of Boost.Optional versions
+
+-------------------------------------------------------------------
+Thu Sep 11 00:40:55 UTC 2025 - Fridrich Strba <[email protected]>
+
+- Make gcc >= 13 the baseline
+
+-------------------------------------------------------------------

New:
----
  libvisio-optional.patch

----------(New B)----------
  New:- Added patch:
  * libvisio-optional.patch
    + fix build with wider range of Boost.Optional versions
----------(New E)----------

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

Other differences:
------------------
++++++ libvisio.spec ++++++
--- /var/tmp/diff_new_pack.qbpFVd/_old  2025-09-11 14:40:07.133771615 +0200
+++ /var/tmp/diff_new_pack.qbpFVd/_new  2025-09-11 14:40:07.133771615 +0200
@@ -18,6 +18,9 @@
 
 %{!?make_build:%global make_build make %{?_smp_mflags}}
 %define libname libvisio-0_1-1
+%if 0%{?suse_version} < 1500 || 0%{?gcc_version} < 13
+%define with_gcc 13
+%endif
 Name:           libvisio
 Version:        0.1.8
 Release:        0
@@ -26,9 +29,11 @@
 Group:          Productivity/Publishing/Word
 URL:            https://www.freedesktop.org/wiki/Software/libvisio
 Source0:        
http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
+Patch0:         libvisio-optional.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?with_gcc}
+BuildRequires:  gcc%{?with_gcc}-c++
 BuildRequires:  gperf
 BuildRequires:  help2man
 BuildRequires:  pkgconfig
@@ -85,9 +90,13 @@
 This package contains tools to work with documents in MS Visio file-format.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
+%if 0%{?with_gcc}
+export CXX=g++-%{with_gcc}
+export CC=gcc-%{with_gcc}
+%endif
 export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
 %configure \
        --disable-werror \

++++++ libvisio-optional.patch ++++++
--- libvisio-0.1.8/src/lib/VSDStyles.h  2024-10-22 17:15:20.000000000 +0200
+++ libvisio-0.1.8/src/lib/VSDStyles.h  2025-09-11 03:10:32.788117037 +0200
@@ -179,9 +179,9 @@
     {
       // Quick Style Colour 100 is special. It is the default,
       // and it is not saved explicitely in the VSDX file.
-      ASSIGN_OPTIONAL(theme->getThemeColour(style.qsFillColour.value_or(100)), 
fgColour);
-      ASSIGN_OPTIONAL(theme->getThemeColour(style.qsFillColour.value_or(100)), 
bgColour);
-      
ASSIGN_OPTIONAL(theme->getThemeColour(style.qsShadowColour.value_or(100)), 
shadowFgColour);
+      
ASSIGN_OPTIONAL(theme->getThemeColour(boost::get_optional_value_or(style.qsFillColour,
 100)), fgColour);
+      
ASSIGN_OPTIONAL(theme->getThemeColour(boost::get_optional_value_or(style.qsFillColour,
 100)), bgColour);
+      
ASSIGN_OPTIONAL(theme->getThemeColour(boost::get_optional_value_or(style.qsShadowColour,
 100)), shadowFgColour);
       if (!!style.qsFillMatrix && style.qsFillMatrix.get() >= 0)
         ASSIGN_OPTIONAL(theme->getFillStyleColour(style.qsFillMatrix.get()), 
fgColour);
     }

Reply via email to