diff options
author | ed <ed@FreeBSD.org> | 2010-01-21 07:02:08 +0800 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-21 07:02:08 +0800 |
commit | 894daa2177e7c92f298524221f04b621aa834dd6 (patch) | |
tree | 3ee7317153492e803f66e564c3e27eb16a079a4f | |
parent | 127c292d211d0ecb8215dce501770179fad73329 (diff) | |
download | freebsd-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.c | 10 | ||||
-rw-r--r-- | x11-toolkits/libzvt/files/patch-gnome-utmp.c | 13 |
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> |