aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/vte/Makefile4
-rw-r--r--x11-toolkits/vte/files/extra-patch-gnome-pty-helper_gnome-utmp.c (renamed from x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c)0
2 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
index 1916cfd75029..67f1d1392a85 100644
--- a/x11-toolkits/vte/Makefile
+++ b/x11-toolkits/vte/Makefile
@@ -38,6 +38,10 @@ OPTIONS= GLX "Enable support for DRI/GLX rendering" off
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 900007
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gnome-pty-helper_gnome-utmp.c
+.endif
+
.if defined(WITH_GLX) && !defined(MASTERDIR)
CONFIGURE_ARGS+= --with-glX
USE_GL= yes
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c b/x11-toolkits/vte/files/extra-patch-gnome-pty-helper_gnome-utmp.c
index bc0877bf5f3a..bc0877bf5f3a 100644
--- a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-utmp.c
+++ b/x11-toolkits/vte/files/extra-patch-gnome-pty-helper_gnome-utmp.c