Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package typst for openSUSE:Factory checked in at 2026-04-02 17:43:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/typst (Old) and /work/SRC/openSUSE:Factory/.typst.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "typst" Thu Apr 2 17:43:50 2026 rev:27 rq:1344305 version:0.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/typst/typst.changes 2025-12-16 16:00:33.689721133 +0100 +++ /work/SRC/openSUSE:Factory/.typst.new.21863/typst.changes 2026-04-02 17:45:24.885834655 +0200 @@ -1,0 +2,6 @@ +Wed Apr 1 14:48:09 UTC 2026 - Martin Sirringhaus <[email protected]> + +- Add patch fix-gcc16-build-in-libdeflate-boo1260948.patch to fix + build with gcc16 (boo#1260948) + +------------------------------------------------------------------- New: ---- fix-gcc16-build-in-libdeflate-boo1260948.patch ----------(New B)---------- New: - Add patch fix-gcc16-build-in-libdeflate-boo1260948.patch to fix build with gcc16 (boo#1260948) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ typst.spec ++++++ --- /var/tmp/diff_new_pack.UAizBX/_old 2026-04-02 17:45:25.829873310 +0200 +++ /var/tmp/diff_new_pack.UAizBX/_new 2026-04-02 17:45:25.841873801 +0200 @@ -1,7 +1,7 @@ # # spec file for package typst # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,7 @@ Source0: https://github.com/typst/typst/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz Patch0: hayagriva-bump-strum-version.patch +Patch1: fix-gcc16-build-in-libdeflate-boo1260948.patch BuildRequires: cargo-packaging BuildRequires: clang-devel BuildRequires: gcc%{?force_gcc_version}-c++ ++++++ fix-gcc16-build-in-libdeflate-boo1260948.patch ++++++ commit d97ed10f93f4fc2e11f2088589c0c5c73e2357b0 Author: Martin Sirringhaus <[email protected]> Date: Wed Apr 1 16:30:22 2026 +0200 patch libdeflate diff --git a/Cargo.lock b/Cargo.lock index bb4dbaaf..4b4a2f23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1511,8 +1511,6 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" [[package]] name = "libdeflate-sys" version = "1.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413b667c8a795fcbe6287a75a8ce92b1dae928172c716fe95044cb2ec7877941" dependencies = [ "cc", ] diff --git a/Cargo.toml b/Cargo.toml index c08c2f25..677f22f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -170,3 +170,4 @@ wildcard_in_or_patterns = "allow" [patch.crates-io] hayagriva = { path="vendor/hayagriva-0.9.1" } +libdeflate-sys = { path="vendor/libdeflate-sys-1.23.0" } diff --git a/vendor/libdeflate-sys-1.23.0/libdeflate/lib/x86/cpu_features.h b/vendor/libdeflate-sys-1.23.0/libdeflate/lib/x86/cpu_features.h index 385e5a30..120d166e 100644 --- a/vendor/libdeflate-sys-1.23.0/libdeflate/lib/x86/cpu_features.h +++ b/vendor/libdeflate-sys-1.23.0/libdeflate/lib/x86/cpu_features.h @@ -165,7 +165,7 @@ static inline u32 get_x86_cpu_features(void) { return 0; } # define HAVE_AVXVNNI(features) ((features) & X86_CPU_FEATURE_AVXVNNI) #endif -#if (GCC_PREREQ(14, 0) || CLANG_PREREQ(18, 0, 18000000)) \ +#if ((GCC_PREREQ(14, 0) && !(GCC_PREREQ(16, 0))) || CLANG_PREREQ(18, 0, 18000000)) \ && !defined(__EVEX512__) /* avoid subtracting the evex512 feature */ # define EVEX512 ",evex512" /* needed to override potential -mno-evex512 */ # define NO_EVEX512 ",no-evex512" /* needed for AVX10/256 compatibility */
