Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw64-gmp for openSUSE:Factory checked in at 2026-09-10 11:48:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw64-gmp (Old) and /work/SRC/openSUSE:Factory/.mingw64-gmp.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw64-gmp" Thu Sep 10 11:48:10 2026 rev:4 rq:1376644 version:6.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw64-gmp/mingw64-gmp.changes 2021-09-21 21:13:46.806681888 +0200 +++ /work/SRC/openSUSE:Factory/.mingw64-gmp.new.1265/mingw64-gmp.changes 2026-09-10 11:51:17.066321699 +0200 @@ -1,0 +2,5 @@ +Wed Sep 9 14:05:42 UTC 2026 - Bernhard Wiedemann <[email protected]> + +- Add gmp-c23-prototype.patch to fix build with gcc15 + +------------------------------------------------------------------- New: ---- gmp-c23-prototype.patch ----------(New B)---------- New: - Add gmp-c23-prototype.patch to fix build with gcc15 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw64-gmp.spec ++++++ --- /var/tmp/diff_new_pack.gBtPeu/_old 2026-09-10 11:51:18.439379284 +0200 +++ /var/tmp/diff_new_pack.gBtPeu/_new 2026-09-10 11:51:18.441379368 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw64-gmp # -# Copyright (c) 2021 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 @@ -25,13 +25,14 @@ URL: https://gmplib.org/ Source: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz Source1000: %{name}-rpmlintrc +Patch0: gmp-c23-prototype.patch BuildRequires: m4 BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-gcc-c++ BuildRequires: xz #!BuildIgnore: post-build-checks BuildArch: noarch -%{_mingw64_package_header_debug} +%_mingw64_package_header_debug %description GMP is a free library for arbitrary precision arithmetic, operating on signed integers, @@ -69,7 +70,7 @@ %_mingw64_debug_package %prep -%setup -q -n gmp-%{version} +%autosetup -p1 -n gmp-%{version} %build echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache} ++++++ gmp-c23-prototype.patch ++++++ >From 14837bacbbd80804a11fee2016f660d132bf8aec Mon Sep 17 00:00:00 2001 From: Marc Glisse <[email protected]> Date: Wed, 29 Jan 2025 22:38:02 +0100 Subject: [PATCH] Complete function prototype in acinclude.m4 for C23 compatibility The "long long reliability test 1" compiler check calls g() with six arguments. Under the C23 default of gcc >= 15 an empty parameter list is a prototype taking no arguments, so the call is rejected and configure concludes it "could not find a working compiler". Backported from upstream; the generated configure is patched as well. --- a/acinclude.m4 +++ b/acinclude.m4 @@ -609,7 +609,7 @@ #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; -void g(){} +void g(int,t1 const*,t1,t2,t1 const*,int){} void h(){} static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;} --- a/configure +++ b/configure @@ -6392,7 +6392,7 @@ #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; -void g(){} +void g(int,t1 const*,t1,t2,t1 const*,int){} void h(){} static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;} @@ -8009,7 +8009,7 @@ #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; -void g(){} +void g(int,t1 const*,t1,t2,t1 const*,int){} void h(){} static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
