diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-07-29 20:22:23 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-07-29 20:22:23 +0000 |
commit | 3ff550d6eedf11ddffa187cdca9000ab2d7b82b6 (patch) | |
tree | e84fdf315448f8ebd8f3e5f0b1aae000fea0ac36 /x11-toolkits | |
parent | 71518bdb0618b5014bf5aaf5469e4fcc32423344 (diff) | |
download | ports-3ff550d6eedf11ddffa187cdca9000ab2d7b82b6.tar.gz ports-3ff550d6eedf11ddffa187cdca9000ab2d7b82b6.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/vte/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-src_pty.c | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile index f565468147c5..e649299f74dc 100644 --- a/x11-toolkits/vte/Makefile +++ b/x11-toolkits/vte/Makefile @@ -8,7 +8,7 @@ PORTNAME= vte PORTVERSION= 0.26.2 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= x11-toolkits gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/x11-toolkits/vte/files/patch-src_pty.c b/x11-toolkits/vte/files/patch-src_pty.c new file mode 100644 index 000000000000..913b2da9f62e --- /dev/null +++ b/x11-toolkits/vte/files/patch-src_pty.c @@ -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 |