File: gcc15.patch

package info (click to toggle)
indi-eqmod 1.0%2B20230126190232-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,112 kB
  • sloc: cpp: 8,918; ansic: 1,365; xml: 570; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: make it compile with gcc15
Index: indi-eqmod/align/chull/chull.c
===================================================================
--- indi-eqmod.orig/align/chull/chull.c	2025-09-25 09:15:13.283694393 +0200
+++ indi-eqmod/align/chull/chull.c	2025-09-25 09:31:29.564580422 +0200
@@ -26,7 +26,9 @@
 #include <stdio.h>
 
 /*Define Boolean type */
-typedef enum { FALSE, TRUE } bool;
+//bool is now part of c23: typedef enum { FALSE, TRUE } bool;
+#define TRUE true
+#define FALSE false
 
 /* Define vertex indices. */
 #define X 0