svn commit: r301694 - in head/x11-toolkits/vte: . files
Koop Mast
kwm at FreeBSD.org
Sun Jul 29 20:22:24 UTC 2012
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
More information about the svn-ports-head
mailing list