File: gcc-15.patch

package info (click to toggle)
onboard 1.4.1-10.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,828 kB
  • sloc: python: 28,322; cpp: 5,965; ansic: 5,739; xml: 1,026; javascript: 263; sh: 163; makefile: 74
file content (16 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097504

--- onboard-1.4.1.orig/Onboard/osk/osk_module.h
+++ onboard-1.4.1/Onboard/osk/osk_module.h
@@ -24,8 +24,7 @@
 
 #include <Python.h>
 #include <structmember.h>
-
-typedef enum { false, true } bool;
+#include <stdbool.h>
 
 /**
  * Python2 to Python3 conversion