File: 882-fix-build-with-gcc-14.patch

package info (click to toggle)
hylafax 3%3A6.0.7-13
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 10,848 kB
  • sloc: sh: 15,305; ansic: 14,429; makefile: 1,562; cpp: 781; awk: 529
file content (29 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
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
26
27
28
29
Author: Friedhelm Mehnert <friedhelm@friedhelms.net>
Description: provides compatibility with GCC-14

Index: hylafax/util/faxdeluser.c
===================================================================
--- hylafax.orig/util/faxdeluser.c
+++ hylafax/util/faxdeluser.c
@@ -34,6 +34,8 @@
 #include <unistd.h>
 #include <ctype.h>
 
+#include <getopt.h>
+
 #include "config.h"
 #include "port.h"
 
Index: hylafax/util/faxmodem.c
===================================================================
--- hylafax.orig/util/faxmodem.c
+++ hylafax/util/faxmodem.c
@@ -35,6 +35,8 @@
 #include "config.h"
 #include "port.h"
 
+typedef unsigned int u_int;
+
 static void
 fatal(char* fmt, ...)
 {