summaryrefslogtreecommitdiff
path: root/package/gmp/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-09 00:21:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-09 00:22:51 +0200
commit45e50b0d9fa4f9f5953344f63788cd70db21939c (patch)
treed6481565ee067daa18b1114c02642c03cd1c4c47 /package/gmp/patches
parent5ea0420de5f6c6dc8a25b711d76607993349aa63 (diff)
gmp: fix gcc 15 issue
Diffstat (limited to 'package/gmp/patches')
-rw-r--r--package/gmp/patches/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gmp/patches/patch-configure b/package/gmp/patches/patch-configure
new file mode 100644
index 000000000..4b2862039
--- /dev/null
+++ b/package/gmp/patches/patch-configure
@@ -0,0 +1,11 @@
+--- gmp-6.3.0.orig/configure 2023-07-29 15:42:22.000000000 +0200
++++ gmp-6.3.0/configure 2025-04-07 14:52:01.231530118 +0200
+@@ -6568,7 +6568,7 @@ if test "$gmp_prog_cc_works" = yes; then
+
+ #if defined (__GNUC__) && ! defined (__cplusplus)
+ typedef unsigned long long t1;typedef t1*t2;
+-void g(){}
++void g(int, const t1*, t1, t1*, const t1*, 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;}