diff options
Diffstat (limited to 'sci-mathematics/gap/files/gap-4.14.0-objfunc-voidptr.patch')
| -rw-r--r-- | sci-mathematics/gap/files/gap-4.14.0-objfunc-voidptr.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sci-mathematics/gap/files/gap-4.14.0-objfunc-voidptr.patch b/sci-mathematics/gap/files/gap-4.14.0-objfunc-voidptr.patch deleted file mode 100644 index 3908d23f95e1..000000000000 --- a/sci-mathematics/gap/files/gap-4.14.0-objfunc-voidptr.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 084b8fb6e7273295cad3330e5c42b850c39c3175 Mon Sep 17 00:00:00 2001 -From: Jan Engelhardt <jengelh@inai.de> -Date: Fri, 18 Jul 2025 01:23:34 +0200 -Subject: [PATCH] Fix build issues when compiling GAP with GCC 15 (#6010) - ---- - src/common.h | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -diff --git a/src/common.h b/src/common.h -index 3932c3020b..02818f567c 100644 ---- a/src/common.h -+++ b/src/common.h -@@ -161,12 +161,7 @@ typedef Bag Obj; - ** - ** 'ObjFunc' is the type of a function returning an object. - */ --#pragma GCC diagnostic push --#ifndef __cplusplus --#pragma GCC diagnostic ignored "-Wstrict-prototypes" --#endif --typedef Obj (* ObjFunc) (/*arguments*/); --#pragma GCC diagnostic pop -+typedef void * ObjFunc; - - typedef Obj (* ObjFunc_0ARGS) (Obj self); - typedef Obj (* ObjFunc_1ARGS) (Obj self, Obj a1); |
