File: gcc-15.patch

package info (click to toggle)
funnelweb 3.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,768 kB
  • sloc: ansic: 9,156; makefile: 22
file content (16 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-08-29
Bug-Debian: https://bugs.debian.org/1096663
Description: Fix build with gcc-15

--- a/source/style.h
+++ b/source/style.h
@@ -130,7 +130,7 @@ typedef unsigned        ulong_ ; /* Unsi
 typedef unsigned long   ulong_ ; /* Unsigned, [0,(2^32)-1].    Space first.   */
 #endif
 
-typedef unsigned        bool   ; /* Unsigned, [0,1].                          */
+#include <stdbool.h>
 typedef unsigned char   bool_  ; /* Unsigned, [0,1].           Space first.   */
 
 typedef int             sign   ; /* Signed  , [-1,0,1].                       */