File: gcc-15.patch

package info (click to toggle)
ucspi-proxy 0.99-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 380 kB
  • sloc: ansic: 1,957; makefile: 46
file content (25 lines) | stat: -rw-r--r-- 526 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/1098025

--- ucspi-proxy-0.99.orig/ucspi-proxy.h
+++ ucspi-proxy-0.99/ucspi-proxy.h
@@ -2,6 +2,7 @@
 #define UCSPI_PROXY__H__
 
 #include <sys/types.h>
+#include <stdbool.h>
 
 #ifndef CRLF
 #define CR '\r'
@@ -19,10 +20,6 @@ extern int SERVER_FD;
 
 struct str;
 
-typedef int bool;
-#define true ((bool)(0==0))
-#define false ((bool)0)
-
 typedef void (*filter_fn)(char*, ssize_t);
 typedef void (*eof_fn)(void);