diff --git a/pkg.info b/pkg.info index f791bb9..f80a58c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: gmp description: A free library for arbitrary precision arithmetic version: 6.3.0 -revision: 2 +revision: 3 url: https://www.gnu.org/software/gmp/ license: GPL2-or-later,LGPL3-or-later architecture: any diff --git a/source-files/gcc-15.patch b/source-files/gcc-15.patch new file mode 100644 index 0000000..2434da5 --- /dev/null +++ b/source-files/gcc-15.patch @@ -0,0 +1,21 @@ + +# HG changeset patch +# User Marc Glisse +# Date 1738186682 -3600 +# Node ID 8e7bb4ae7a18b1405ea7f9cbcda450b7d920a901 +# Parent e84c5c785bbe8ed8c3620194e50b65adfc2f5d83 +Complete function prototype in acinclude.m4 for C23 compatibility + +diff -r e84c5c785bbe -r 8e7bb4ae7a18 acinclude.m4 +--- a/acinclude.m4 Wed Dec 04 18:26:27 2024 +0100 ++++ b/acinclude.m4 Wed Jan 29 22:38:02 2025 +0100 +@@ -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