Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cura-engine for openSUSE:Factory 
checked in at 2024-12-16 19:16:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cura-engine (Old)
 and      /work/SRC/openSUSE:Factory/.cura-engine.new.29675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cura-engine"

Mon Dec 16 19:16:36 2024 rev:14 rq:1231262 version:4.13.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cura-engine/cura-engine.changes  2023-05-07 
18:54:39.784152174 +0200
+++ /work/SRC/openSUSE:Factory/.cura-engine.new.29675/cura-engine.changes       
2024-12-16 19:16:38.953251108 +0100
@@ -1,0 +2,7 @@
+Wed Nov 27 05:47:22 UTC 2024 - Stefan Brüns <[email protected]>
+
+- Fix build with latest GCC, add
+  0001-Fix-failing-build-due-to-missing-iomanip.h-include.patch
+- Minor spec file cleanup
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-failing-build-due-to-missing-iomanip.h-include.patch

BETA DEBUG BEGIN:
  New:- Fix build with latest GCC, add
  0001-Fix-failing-build-due-to-missing-iomanip.h-include.patch
- Minor spec file cleanup
BETA DEBUG END:

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

Other differences:
------------------
++++++ cura-engine.spec ++++++
--- /var/tmp/diff_new_pack.92C616/_old  2024-12-16 19:16:39.853288422 +0100
+++ /var/tmp/diff_new_pack.92C616/_new  2024-12-16 19:16:39.857288588 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cura-engine
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,16 +30,16 @@
 Patch1:         fix-build.patch
 # PATCH-FIX-UPSTREAM add-missing-include.patch -- Add missing include <cstdint>
 Patch2:         add-missing-include.patch
+# PATCH-FIX-OPENSUSE
+Patch3:         0001-Fix-failing-build-due-to-missing-iomanip.h-include.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  gmock
 BuildRequires:  gtest
 BuildRequires:  libArcus-devel >= %{version}
 BuildRequires:  stb-devel
-%if 0%{suse_version} >= 1550
 BuildRequires:  cmake(RapidJSON)
 BuildRequires:  pkgconfig(polyclipping)
-%endif
 # No 32bit support anymore
 ExcludeArch:    %ix86 %arm s390
 
@@ -49,8 +49,7 @@
 It is part of the larger project called "Cura".
 
 %prep
-%setup -q -n CuraEngine-%sversion
-%autopatch -p1
+%autosetup -p1 -n CuraEngine-%sversion
 # the test is hardcoding the version number
 sed -i -e 's,"master","%{version}",' tests/GCodeExportTest.cpp
 
@@ -59,9 +58,7 @@
 %cmake -DCURA_ENGINE_VERSION=%version \
        -DCMAKE_POSITION_INDEPENDENT_CODE="true" \
        -DBUILD_SHARED_LIBS="false" \
-%if 0%{suse_version} >= 1550
        -DUSE_SYSTEM_LIBS=ON \
-%endif
        -DBUILD_TESTS=ON
 %cmake_build
 
@@ -71,9 +68,8 @@
 install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine.1
 
 %check
-cd build
 # we don't use "make test" to get the output on failure
-/usr/bin/ctest --force-new-ctest-process --output-on-failure
+%ctest
 
 %files
 %license LICENSE

++++++ 0001-Fix-failing-build-due-to-missing-iomanip.h-include.patch ++++++
>From 83336f5ce831da0686df3d40a7b97d756a25248a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Wed, 27 Nov 2024 06:42:18 +0100
Subject: [PATCH] Fix failing build due to missing iomanip.h include

---
 tests/utils/StringTest.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/utils/StringTest.cpp b/tests/utils/StringTest.cpp
index e6ade37..ab48e82 100644
--- a/tests/utils/StringTest.cpp
+++ b/tests/utils/StringTest.cpp
@@ -5,6 +5,7 @@
 
 #include <../src/utils/IntPoint.h>
 #include <../src/utils/string.h> //The file under test.
+#include <iomanip>
 
 namespace cura
 {
-- 
2.47.0

Reply via email to