Date: Sun, 29 Jul 2012 20:22:23 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r301694 - in head/x11-toolkits/vte: . files Message-ID: <201207292022.q6TKMNBU097602@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Sun Jul 29 20:22:23 2012 New Revision: 301694 URL: http://svn.freebsd.org/changeset/ports/301694 Log: Fix a run time issue on -CURRENT more recent than 4 months ago, when the pty(4) device was removed from the default kernel. Added: head/x11-toolkits/vte/files/patch-src_pty.c (contents, props changed) Modified: head/x11-toolkits/vte/Makefile Modified: head/x11-toolkits/vte/Makefile ============================================================================== --- head/x11-toolkits/vte/Makefile Sun Jul 29 19:59:20 2012 (r301693) +++ head/x11-toolkits/vte/Makefile Sun Jul 29 20:22:23 2012 (r301694) @@ -8,7 +8,7 @@ PORTNAME= vte PORTVERSION= 0.26.2 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 Added: head/x11-toolkits/vte/files/patch-src_pty.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/vte/files/patch-src_pty.c Sun Jul 29 20:22:23 2012 (r301694) @@ -0,0 +1,15 @@ +--- src/pty.c.orig 2012-07-20 13:47:16.000000000 +0200 ++++ src/pty.c 2012-07-20 14:07:30.000000000 +0200 +@@ -837,7 +837,11 @@ + _vte_pty_getpt(GError **error) + { + int fd, flags, rv; +-#ifdef HAVE_GETPT ++ ++#ifdef HAVE_POSIX_OPENPT ++ /* Call the system's function for allocating a pty. */ ++ fd = posix_openpt(O_RDWR | O_NOCTTY); ++#elif defined(HAVE_GETPT) + /* Call the system's function for allocating a pty. */ + fd = getpt(); + #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207292022.q6TKMNBU097602>