pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/46190 CVS commit: pkgsrc/misc/rlwrap



The following reply was made to PR pkg/46190; it has been noted by GNATS.

From: "Leonardo Taccari" <leot%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/46190 CVS commit: pkgsrc/misc/rlwrap
Date: Tue, 18 Sep 2018 14:17:26 +0000

 Module Name:	pkgsrc
 Committed By:	leot
 Date:		Tue Sep 18 14:17:26 UTC 2018
 
 Modified Files:
 	pkgsrc/misc/rlwrap: Makefile distinfo
 Added Files:
 	pkgsrc/misc/rlwrap/patches: patch-configure.ac
 
 Log Message:
 rlwrap: Properly include <util.h> for openpty(3)
 
 Previously on NetBSD and probably other system that has openpty(3)
 in util.h the compilation lead to a:
 
  ptytty.c: In function 'ptytty_get_pty':
  ptytty.c:72:7: warning: implicit declaration of function 'openpty' [-Wimplicit-function-declaration]
     if (openpty(&pfd, fd_tty, tty_name, NULL, NULL) != -1) {
         ^~~~~~~
 
 due a missing <util.h> inclusion.
 
 Add a patch for configure.ac (and auto* tools to USE_TOOLS) in
 order to address that.
 
 Originally reported by Matthew Mondor via PR pkg/46190 and thanks
 to Matthew and <wiz> for their analysis!
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.19 -r1.20 pkgsrc/misc/rlwrap/Makefile
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/misc/rlwrap/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/misc/rlwrap/patches/patch-configure.ac
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index