The configure script of the devel/rlwrap port searches for the names of pseudo terminals. Found /dev/pty?? files are then hard-coded into the $PREFIX/bin/rlwrap executable. This does not work well with FreeBSD where /dev/* nodes are dynamic. The resulting behaviour is highly undesirable: Only pseudo terminals in use at configure time are considered. If none of those is free at run time then pseudo tty allocation fails with a fatal error! The fix is of course to let the binary know about valid pseudo tty names on FreeBSD, i.e. /dev/[pt]ty[p-sP-S][0-9a-v]. While at it also s/PREFIX/LOCALBASE/ where appropriate.
Responsible Changed From-To: freebsd-ports-bugs->laszlof Over to maintainer
laszlof 2007-10-07 21:51:57 UTC FreeBSD ports repository Modified files: devel/rlwrap Makefile devel/rlwrap/files patch-src::ptytty.c Log: FIx bug reported by submitter remove checks for readline 4.2+, we do not support 4.x anymore bump PORTREVISION PR: ports/116690 Submitted by: Martin Kammerhofer <dada@pluto.tugraz.at> Revision Changes Path 1.25 +4 -15 ports/devel/rlwrap/Makefile 1.3 +27 -2 ports/devel/rlwrap/files/patch-src::ptytty.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!