From a19736a2d9e294fab8eb4442acac220baf576c1e Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Wed, 20 Jan 2010 23:02:08 +0000 Subject: Unbreak libzvt on HEAD. Use similar patches that have been used for gnome-libs and vte as well. Approved by: miwi (portmgr, implicit) --- x11-toolkits/libzvt/files/patch-gnome-pty-helper.c | 10 ++++++++++ x11-toolkits/libzvt/files/patch-gnome-utmp.c | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 x11-toolkits/libzvt/files/patch-gnome-pty-helper.c create mode 100644 x11-toolkits/libzvt/files/patch-gnome-utmp.c (limited to 'x11-toolkits') 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 + #include + #include +-#include + #include + #include + #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 ++#if defined(HAVE_UTMP_H) ++# include ++#endif + + #if defined(HAVE_LASTLOG_H) + # include -- cgit v1.2.3