| 1 | Description: Fix FTBFS with GCC 15 |
| 2 | Author: Adrian Bunk <[email protected]> |
| 3 | Bug-Debian: https://bugs.debian.org/1096277 |
| 4 | |
| 5 | --- acme-0.97~svn20211115+ds.orig/contrib/toacme/src/config.h |
| 6 | +++ acme-0.97~svn20211115+ds/contrib/toacme/src/config.h |
| 7 | @@ -7,15 +7,15 @@ |
| 8 | #ifndef config_H |
| 9 | #define config_H |
| 10 | |
| 11 | +#include <stdbool.h> |
| 12 | |
| 13 | // constants |
| 14 | #define SPACE 0x20 |
| 15 | #define SHIFTSPACE 0xa0 |
| 16 | |
| 17 | #ifndef FALSE |
| 18 | -typedef int bool; |
| 19 | -#define FALSE 0 |
| 20 | -#define TRUE 1 |
| 21 | +#define FALSE false |
| 22 | +#define TRUE true |
| 23 | #endif |
| 24 | |
| 25 |