diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-01-20 23:02:08 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-01-20 23:02:08 +0000 |
commit | a19736a2d9e294fab8eb4442acac220baf576c1e (patch) | |
tree | b305681c6f5afdee95da803104406668128f41c6 /x11-toolkits | |
parent | abc0f12389e3269918c68d5c7aa519fd5f1fadd2 (diff) | |
download | ports-a19736a2d9e294fab8eb4442acac220baf576c1e.tar.gz ports-a19736a2d9e294fab8eb4442acac220baf576c1e.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-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> |