Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 08:12:09 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547243 - head/devel/rlwrap/files
Message-ID:  <202009010812.0818C98b030547@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009010812.0818C98b030547>