Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package criterion for openSUSE:Factory 
checked in at 2025-03-07 16:44:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/criterion (Old)
 and      /work/SRC/openSUSE:Factory/.criterion.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "criterion"

Fri Mar  7 16:44:35 2025 rev:4 rq:1251113 version:2.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/criterion/criterion.changes      2023-11-28 
22:21:09.857674344 +0100
+++ /work/SRC/openSUSE:Factory/.criterion.new.19136/criterion.changes   
2025-03-07 16:48:39.821739571 +0100
@@ -1,0 +2,7 @@
+Thu Mar  6 13:28:57 UTC 2025 - pgaj...@suse.com
+
+- added patches
+  fix build with gcc15
+  + criterion-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  criterion-gcc15.patch

BETA DEBUG BEGIN:
  New:  fix build with gcc15
  + criterion-gcc15.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ criterion.spec ++++++
--- /var/tmp/diff_new_pack.8Zzlt1/_old  2025-03-07 16:48:40.349761854 +0100
+++ /var/tmp/diff_new_pack.8Zzlt1/_new  2025-03-07 16:48:40.353762022 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package criterion
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 URL:            https://github.com/Snaipe/Criterion
 Source:         
https://github.com/Snaipe/Criterion/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
 Patch0:         fix-meson.patch
+# https://github.com/Snaipe/Criterion/issues/559
+Patch1:         criterion-gcc15.patch
 BuildRequires:  boxfort-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake
@@ -80,7 +82,7 @@
 Contains all needed devel files for Criterion.
 
 %prep
-%autosetup -n Criterion-%{version}
+%autosetup -p1 -n Criterion-%{version}
 
 %build
 # we disable tests because they require Cram, a no longer upstream maintained 
tool that's also not in openSUSE.

++++++ criterion-gcc15.patch ++++++
Index: include/criterion/alloc.h
===================================================================
--- a/include/criterion/alloc.h
+++ b/include/criterion/alloc.h
@@ -31,9 +31,11 @@
 #ifdef __cplusplus
 # include <memory>
 # include <cstddef>
+# include <cstdint>
 using std::size_t;
 #else
 # include <stddef.h>
+# include <stdint.h>
 #endif
 #include "internal/common.h"
 

Reply via email to