File: ftbfs-gcc14.patch

package info (click to toggle)
aprx 2.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,608 kB
  • sloc: ansic: 15,802; sh: 544; makefile: 173
file content (28 lines) | stat: -rw-r--r-- 593 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
Description: Fix FTBFS Error for GCC14
Author: Dave Hibberd <hibby@debian.org>
Forwarded: yes
Bug: https://github.com/PhirePhly/aprx/issues/78
Last-Update: 2024-08-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ttyreader.c
+++ b/ttyreader.c
@@ -705,6 +705,7 @@
 void
 aprx_cfmakeraw(t, f)
 	struct termios *t;
+	int f;
 {
 
 	t->c_iflag &= ~(IMAXBEL|IXOFF|INPCK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON|IGNPAR);
--- a/test.c
+++ b/test.c
@@ -14,7 +14,7 @@
 	return h;
 }
 
-main()
+int main()
 {
 	printf("APRSPASS: %d\n", aprspass("OH2MQK-1"));
 	return 0;