File: 0005-gcc-15.patch

package info (click to toggle)
numdiff 5.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,680 kB
  • sloc: ansic: 10,808; sh: 3,383; makefile: 276
file content (21 lines) | stat: -rw-r--r-- 500 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
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-03-05
Bug-Debian: https://bugs.debian.org/1097483
Description: For whatever reason HAVE_STDBOOL_H is not properly set
             so simply force `#include <stdbool.h>` to prevent failures
             with gcc-15

--- a/setmode.c
+++ b/setmode.c
@@ -23,11 +23,7 @@
 # include <config.h>
 #endif
 
-#if HAVE_STDBOOL_H
 # include <stdbool.h>
-#else
-typedef enum {false = 0, true = 1} bool;
-#endif
 
 #if HAVE_SETMODE_DOS
 # include <io.h>