From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 11 12:50:05 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9E2B1065672 for ; Sun, 11 May 2008 12:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3A58FC1D for ; Sun, 11 May 2008 12:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4BCo5JZ012962 for ; Sun, 11 May 2008 12:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4BCo5OC012961; Sun, 11 May 2008 12:50:05 GMT (envelope-from gnats) Resent-Date: Sun, 11 May 2008 12:50:05 GMT Resent-Message-Id: <200805111250.m4BCo5OC012961@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ed Schouten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEC20106564A for ; Sun, 11 May 2008 12:44:31 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 882E88FC22 for ; Sun, 11 May 2008 12:44:31 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 807F71CDC2; Sun, 11 May 2008 14:44:30 +0200 (CEST) Message-Id: <20080511124430.807F71CDC2@palm.hoeg.nl> Date: Sun, 11 May 2008 14:44:30 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/123591: [Patch] sysutils/screen: don't make it use /dev/ptmx X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 12:50:05 -0000 >Number: 123591 >Category: ports >Synopsis: [Patch] sysutils/screen: don't make it use /dev/ptmx >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 11 12:50:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.3-STABLE FreeBSD 6.3-STABLE #0: Sun Apr 20 17:23:31 CEST 2008 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: The new TTY layer I'm developing supports the /dev/ptmx device to remain compatible with Linux and FreeBSD binaries. I notice that screen's configure tries to detect /dev/ptmx. If it is present, it prefers /dev/ptmx over the openpty() routine that's currently being used. We shouldn't use it, because screen fails to use the allocated PTY afterwards. >How-To-Repeat: >Fix: The following patch makes the configure script check for /nonexistent instead of /dev/ptmx, which doesn't exist. This effectively disables the /dev/ptmx code in screen. --- sysutils/screen/Makefile +++ sysutils/screen/Makefile @@ -64,6 +64,7 @@ post-patch: @${RM} ${WRKSRC}/doc/screen.info* + @${REINPLACE_CMD} -e 's|/dev/ptmx|/nonexistent|' ${WRKSRC}/configure post-install: @${MKDIR} ${EXAMPLESDIR} >Release-Note: >Audit-Trail: >Unformatted: