Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ctre for openSUSE:Factory checked in at 2026-09-14 16:22:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ctre (Old) and /work/SRC/openSUSE:Factory/.ctre.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ctre" Mon Sep 14 16:22:52 2026 rev:6 rq:1377776 version:3.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ctre/ctre.changes 2026-05-19 17:52:14.689287055 +0200 +++ /work/SRC/openSUSE:Factory/.ctre.new.1265/ctre.changes 2026-09-14 16:22:54.030873310 +0200 @@ -1,0 +2,7 @@ +Fri Sep 11 16:35:40 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Add ctre-cmake-4_4-compat.patch to make builds compatible with + cmake 4.4+ by importing the appropriate upstream UUID for + `CMAKE_EXPERIMENTAL_CXX_IMPORT_STD`. + +------------------------------------------------------------------- New: ---- ctre-cmake-4_4-compat.patch ----------(New B)---------- New: - Add ctre-cmake-4_4-compat.patch to make builds compatible with cmake 4.4+ by importing the appropriate upstream UUID for ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ctre.spec ++++++ --- /var/tmp/diff_new_pack.DCaNZx/_old 2026-09-14 16:22:55.384930155 +0200 +++ /var/tmp/diff_new_pack.DCaNZx/_new 2026-09-14 16:22:55.385930197 +0200 @@ -16,6 +16,7 @@ # +%define __builder ninja Name: ctre Version: 3.11.0 Release: 0 @@ -23,8 +24,11 @@ License: Apache-2.0 URL: https://compile-time.re Source: https://github.com/hanickadot/compile-time-regular-expressions/archive/refs/tags/v%{version}.tar.gz#/%{name}-%version.tar.gz +# PATCH-FIX-UPSTREAM ctre-cmake-4_4-compat.patch gh#hanickadot/compile-time-regular-expressions#368 [email protected] -- Make build compatible with cmake 4.4 by adding appropriate CMAKE_EXPERIMENTAL_CXX_IMPORT_STD key from upstream cmake [https://github.com/Kitware/CMake/blob/master/Help/dev/experimental.rst] +Patch0: ctre-cmake-4_4-compat.patch BuildRequires: cmake -BuildRequires: gcc%{?gcc_ver}-c++ +BuildRequires: gcc-c++ +BuildRequires: ninja BuildRequires: pkgconfig %description @@ -40,10 +44,10 @@ %prep %autosetup -p1 -n compile-time-regular-expressions-%{version} +sed -Ei "s/VERSION 3.9.0/VERSION 3.11.0/" CMakeLists.txt %build %cmake \ - -DCMAKE_CXX_COMPILER=g++%{?gcc_ver:-%{gcc_ver}} \ -DCTRE_MODULE:BOOL=OFF \ -DCTRE_BUILD_TESTS:BOOL=ON %cmake_build @@ -52,7 +56,6 @@ %cmake_install %check -export CXX=g++%{?gcc_ver:-%{gcc_ver}} %make_build %files devel ++++++ ctre-cmake-4_4-compat.patch ++++++ --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: compile-time-regular-expressions-3.11.0/CMakeLists.txt =================================================================== --- compile-time-regular-expressions-3.11.0.orig/CMakeLists.txt +++ compile-time-regular-expressions-3.11.0/CMakeLists.txt @@ -10,9 +10,14 @@ if(NOT CMAKE_EXPERIMENTAL_CXX_STD AND NO elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.0.3" AND CMAKE_VERSION VERSION_LESS "4.3") set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "d0edc3af-4c50-42ea-a356-e2862fe7a444") set(CMAKE_CXX_MODULE_STD 1) - elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.3") + elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.3" AND CMAKE_VERSION VERSION_LESS "4.4") set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "451f2fe2-a8a2-47c3-bc32-94786d8fc91b") set(CMAKE_CXX_MODULE_STD 1) + elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.4" AND CMAKE_VERSION VERSION_LESS "4.5") + set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "f35a9ac6-8463-4d38-8eec-5d6008153e7d") + set(CMAKE_CXX_MODULE_STD 1) + else() + set(CMAKE_CXX_MODULE_STD 0) endif() endif()
