File: gcc-15.patch

package info (click to toggle)
acme 1%3A0.97~svn20251213%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,584 kB
  • sloc: ansic: 10,920; makefile: 215; python: 207; sh: 136
file content (25 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1096277

--- acme-0.97~svn20211115+ds.orig/contrib/toacme/src/config.h
+++ acme-0.97~svn20211115+ds/contrib/toacme/src/config.h
@@ -7,15 +7,15 @@
 #ifndef config_H
 #define config_H
 
+#include <stdbool.h>
 
 // constants
 #define SPACE		0x20
 #define SHIFTSPACE	0xa0
 
 #ifndef FALSE
-typedef int	bool;
-#define FALSE	0
-#define TRUE	1
+#define FALSE	false
+#define TRUE	true
 #endif