ports/161480: [patch] x11/luit: don't depend on pty(4), use openpty(3)
Nali Toja
nalitoja at gmail.com
Tue Oct 11 07:20:04 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list