File: fix-build-with-gcc-10.patch

package info (click to toggle)
lprng 3.8.B-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,768 kB
  • sloc: ansic: 35,071; sh: 3,040; perl: 1,896; makefile: 379
file content (19 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Thadeu Lima de Souza Cascardo <cascardo@debian.org>
Date: Sat, 29 Aug 2020 08:50:02 -0300
X-Dgit-Generated: 3.8.B-2.3 43f7b52fe50689e0d16d3ff0b8abde59adb5634e
Subject: Fix build with gcc-10

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@debian.org>

---

--- lprng-3.8.B.orig/src/common/checkpc.c
+++ lprng-3.8.B/src/common/checkpc.c
@@ -32,7 +32,6 @@ static int Remove;
 static char *User_specified_printer;
 static time_t Current_time;
 static int Check_path_list( char *plist, int allow_missing );
-int Mail_fd;
 
 
 /* pathnames of the spool directory (sd) and control directory (cd) */