freebsd-ports/x11/enterminus/files/patch-src_bin_pty.c
Stanislav Sedov ee774b0f4f - Move to LOCALBASE
- Use new EFL framework
- Update all e17 ports to the lates stable cvs snapshot
- Add additional knobs/options to ports makefiles to control the
  feature set
- Add a bunch of new e17 applications/libraries
- Minor improvements/modification.

Approved by:	vanilla (old maintainer), sem (mentor)
2006-10-08 13:48:37 +00:00

11 lines
268 B
C

--- src/bin/pty.c.orig Mon Aug 14 18:25:18 2006
+++ src/bin/pty.c Mon Aug 14 18:25:51 2006
@@ -19,7 +19,7 @@
int fd;
char *ptydev;
- if((fd = getpt()) >= 0)
+ if((fd = posix_openpt(O_RDWR)) >= 0)
{
if(grantpt(fd) == 0 && unlockpt(fd) == 0)
{