aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-21 07:02:08 +0800
committered <ed@FreeBSD.org>2010-01-21 07:02:08 +0800
commit894daa2177e7c92f298524221f04b621aa834dd6 (patch)
tree3ee7317153492e803f66e564c3e27eb16a079a4f
parent127c292d211d0ecb8215dce501770179fad73329 (diff)
downloadfreebsd-ports-gnome-894daa2177e7c92f298524221f04b621aa834dd6.tar.gz
freebsd-ports-gnome-894daa2177e7c92f298524221f04b621aa834dd6.tar.zst
freebsd-ports-gnome-894daa2177e7c92f298524221f04b621aa834dd6.zip
Unbreak libzvt on HEAD.
Use similar patches that have been used for gnome-libs and vte as well. Approved by: miwi (portmgr, implicit)
-rw-r--r--x11-toolkits/libzvt/files/patch-gnome-pty-helper.c10
-rw-r--r--x11-toolkits/libzvt/files/patch-gnome-utmp.c13
2 files changed, 23 insertions, 0 deletions
diff --git a/x11-toolkits/libzvt/files/patch-gnome-pty-helper.c b/x11-toolkits/libzvt/files/patch-gnome-pty-helper.c
new file mode 100644
index 000000000000..e777a6c7a823
--- /dev/null
+++ b/x11-toolkits/libzvt/files/patch-gnome-pty-helper.c
@@ -0,0 +1,10 @@
+--- libzvt/gnome-pty-helper.c
++++ libzvt/gnome-pty-helper.c
+@@ -50,7 +50,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
+-#include <utmp.h>
+ #include <grp.h>
+ #include <glib/galloca.h>
+ #include "gnome-pty.h"
diff --git a/x11-toolkits/libzvt/files/patch-gnome-utmp.c b/x11-toolkits/libzvt/files/patch-gnome-utmp.c
new file mode 100644
index 000000000000..520ab1cdd864
--- /dev/null
+++ b/x11-toolkits/libzvt/files/patch-gnome-utmp.c
@@ -0,0 +1,13 @@
+--- libzvt/gnome-utmp.c
++++ libzvt/gnome-utmp.c
+@@ -33,7 +33,9 @@
+ # endif
+ #endif
+
+-#include <utmp.h>
++#if defined(HAVE_UTMP_H)
++# include <utmp.h>
++#endif
+
+ #if defined(HAVE_LASTLOG_H)
+ # include <lastlog.h>