Fix build with clang11
Reported by: pkg-fallout Approved by: antoine (implicit)
This commit is contained in:
parent
45d270c95f
commit
143cf44704
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547243
1 changed files with 11 additions and 0 deletions
11
devel/rlwrap/files/patch-src_main.c
Normal file
11
devel/rlwrap/files/patch-src_main.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/main.c.orig 2014-11-14 14:48:11 UTC
|
||||
+++ src/main.c
|
||||
@@ -52,7 +52,7 @@ char *filter_command = NULL; /* -z opt
|
||||
|
||||
/* variables for global bookkeeping */
|
||||
int master_pty_fd; /* master pty (rlwrap uses this to communicate with client) */
|
||||
-int slave_pty_sensing_fd; /* slave pty (client uses this to communicate with rlwrap,
|
||||
+extern int slave_pty_sensing_fd; /* slave pty (client uses this to communicate with rlwrap,
|
||||
* we keep it open after forking in order to keep track of
|
||||
* client's terminal settings */
|
||||
FILE *debug_fp = NULL; /* filehandle of debugging log */
|
Loading…
Reference in a new issue