svn commit: r547243 - head/devel/rlwrap/files

Stefan Eßer se at FreeBSD.org
Tue Sep 1 08:12:10 UTC 2020


Author: se
Date: Tue Sep  1 08:12:09 2020
New Revision: 547243
URL: https://svnweb.freebsd.org/changeset/ports/547243

Log:
  Fix build with clang11
  
  Reported by:	pkg-fallout
  Approved by:	antoine (implicit)

Added:
  head/devel/rlwrap/files/patch-src_main.c   (contents, props changed)

Added: head/devel/rlwrap/files/patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rlwrap/files/patch-src_main.c	Tue Sep  1 08:12:09 2020	(r547243)
@@ -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 */


More information about the svn-ports-all mailing list