mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-31 21:30:51 -07:00
* Patch GMP to build on GCC15 * Add cstdint include - GCC15 defaults to C23 * Update GMP PATCH_COMMAND to work without a valid git repo * Set GMP_DIRECTORY_FLAG
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
--- GMP/acinclude.m4 2025-05-14 18:50:11.396354745 -0400
|
|
+++ GMP/acinclude.m4.2 2025-05-14 18:57:20.757853503 -0400
|
|
@@ -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;}
|
|
|
|
--- GMP/configure 2025-05-14 19:33:35.730593315 -0400
|
|
+++ GMP/configure 2025-05-14 19:35:37.805619186 -0400
|
|
@@ -6526,7 +6526,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;}
|
|
@@ -8145,7 +8145,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;}
|