File: 06_fix_ftbfs.patch

package info (click to toggle)
sup 20100519-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 780 kB
  • sloc: ansic: 8,334; makefile: 106
file content (29 lines) | stat: -rw-r--r-- 841 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
20
21
22
23
24
25
26
27
28
29
Description: Fix ftbfs with GCC-10

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Bug-Debian: https://bugs.debian.org/957849
Forwarded: no

---

--- sup-20100519.orig/netcryptvoid.c
+++ sup-20100519/netcryptvoid.c
@@ -54,7 +54,6 @@
  *********************************************/
 
 int cryptflag;			/* whether to encrypt/decrypt data */
-char *cryptbuf;			/* buffer for data encryption/decryption */
 
 int 
 netcrypt(char *pword)
--- sup-20100519.orig/scmio.c
+++ sup-20100519/scmio.c
@@ -190,7 +190,7 @@ extern int netfile;		/* network file des
 
 int scmdebug;			/* scm debug flag */
 
-int cryptflag;			/* whether to encrypt/decrypt data */
+extern int cryptflag;		/* whether to encrypt/decrypt data */
 char *cryptbuf;			/* buffer for data encryption/decryption */
 
 extern char *goawayreason;	/* reason for goaway message */