Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2011 07:18:58 +0000
From:      Nali Toja <nalitoja@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161480: [patch] x11/luit: don't depend on pty(4), use openpty(3)
Message-ID:  <86fwj03sil.fsf@gmail.com>
Resent-Message-ID: <201110110720.p9B7K3No064459@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161480
>Category:       ports
>Synopsis:       [patch] x11/luit: don't depend on pty(4), use openpty(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 11 07:20:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nali Toja
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
1. compile kernel without pty(4)
2. run

  $ luit
  Couldn't allocate pty: No such file or directory
  Exit 1
>Fix:
--- use_openpty.diff begins here ---
Index: x11/luit/Makefile
===================================================================
RCS file: /a/.csup/ports/x11/luit/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- x11/luit/Makefile	11 Oct 2011 03:14:29 -0000	1.7
+++ x11/luit/Makefile	11 Oct 2011 07:17:04 -0000
@@ -16,6 +16,7 @@ XORG_CAT=	app
 USE_XORG=	x11 fontenc
 
 CFLAGS+=	-DBSD
+CONFIGURE_ENV=	ac_cv_func_grantpt=no
 CONFIGURE_ARGS=	--datadir=${LOCALBASE}/lib
 
 PLIST_FILES=	bin/luit
--- use_openpty.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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