diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-support/gmp/gmp/0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch | 25 | ||||
| -rw-r--r-- | meta/recipes-support/gmp/gmp_6.3.0.bb | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp/0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch b/meta/recipes-support/gmp/gmp/0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch new file mode 100644 index 0000000000..ee199a8373 --- /dev/null +++ b/meta/recipes-support/gmp/gmp/0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 51a657c827422d2bc284d752dfbcfd2b1311a5bf Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Marc Glisse <marc.glisse@inria.fr> | ||
| 3 | Date: Wed, 29 Jan 2025 22:38:02 +0100 | ||
| 4 | Subject: [PATCH] Complete function prototype in acinclude.m4 for C23 | ||
| 5 | compatibility | ||
| 6 | |||
| 7 | Upstream-Status: Backport [https://gmplib.org/repo/gmp/rev/8e7bb4ae7a18] | ||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | acinclude.m4 | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
| 14 | index 9cf9483..787511f 100644 | ||
| 15 | --- a/acinclude.m4 | ||
| 16 | +++ b/acinclude.m4 | ||
| 17 | @@ -609,7 +609,7 @@ GMP_PROG_CC_WORKS_PART([$1], [long long reliability test 1], | ||
| 18 | |||
| 19 | #if defined (__GNUC__) && ! defined (__cplusplus) | ||
| 20 | typedef unsigned long long t1;typedef t1*t2; | ||
| 21 | -void g(){} | ||
| 22 | +void g(int,t1 const*,t1,t2,t1 const*,int){} | ||
| 23 | void h(){} | ||
| 24 | static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) | ||
| 25 | {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;} | ||
diff --git a/meta/recipes-support/gmp/gmp_6.3.0.bb b/meta/recipes-support/gmp/gmp_6.3.0.bb index fd4aec92fd..fd810a264d 100644 --- a/meta/recipes-support/gmp/gmp_6.3.0.bb +++ b/meta/recipes-support/gmp/gmp_6.3.0.bb | |||
| @@ -14,6 +14,7 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ | |||
| 14 | file://use-includedir.patch \ | 14 | file://use-includedir.patch \ |
| 15 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ | 15 | file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ |
| 16 | file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \ | 16 | file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \ |
| 17 | file://0001-Complete-function-prototype-in-acinclude.m4-for-C23-.patch \ | ||
| 17 | " | 18 | " |
| 18 | SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb" | 19 | SRC_URI[sha256sum] = "ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb" |
| 19 | 20 | ||
