Modified: trunk/dports/gnome/vte/Portfile (145273 => 145274)
--- trunk/dports/gnome/vte/Portfile 2016-01-30 18:47:01 UTC (rev 145273)
+++ trunk/dports/gnome/vte/Portfile 2016-01-30 18:47:58 UTC (rev 145274)
@@ -42,7 +42,8 @@
depends_run port:gnome-themes-standard
-patchfiles patch-src-Makefile.am.diff
+patchfiles patch-src-Makefile.am.diff \
+ patch-src-pty.cc.diff
gobject_introspection yes
Copied: trunk/dports/gnome/vte/files/patch-src-pty.cc.diff (from rev 145273, users/devans/GNOME-3/stable/dports/gnome/vte/files/patch-src-pty.cc.diff) (0 => 145274)
--- trunk/dports/gnome/vte/files/patch-src-pty.cc.diff (rev 0)
+++ trunk/dports/gnome/vte/files/patch-src-pty.cc.diff 2016-01-30 18:47:58 UTC (rev 145274)
@@ -0,0 +1,14 @@
+--- src/pty.cc.orig 2016-01-30 10:31:41.000000000 -0800
++++ src/pty.cc 2016-01-30 10:33:32.000000000 -0800
+@@ -59,6 +59,11 @@
+ #ifdef HAVE_PTY_H
+ #include <pty.h>
+ #endif
++
++#ifndef O_CLOEXEC
++#define O_CLOEXEC 0
++#endif
++
+ #if defined(__sun) && defined(HAVE_STROPTS_H)
+ #include <stropts.h>
+ #endif