aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-11-13 09:56:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-11-13 09:56:07 +0000
commitf5e41923378a4b1c982c46b47d27bc7a65280e64 (patch)
tree7a7ee0481764956cffafa52b6e55f06129aac45b /shells
parent0054d42623bc0a6065d3874a6ddd74416a8e28db (diff)
downloadports-f5e41923378a4b1c982c46b47d27bc7a65280e64.tar.gz
ports-f5e41923378a4b1c982c46b47d27bc7a65280e64.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/files/patch-Src_watch.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/shells/zsh/files/patch-Src_watch.c b/shells/zsh/files/patch-Src_watch.c
new file mode 100644
index 000000000000..c01a3632f9c1
--- /dev/null
+++ b/shells/zsh/files/patch-Src_watch.c
@@ -0,0 +1,15 @@
+--- Src/watch.c.orig 2011-11-13 10:39:47.736213000 +0100
++++ Src/watch.c 2011-11-13 10:47:22.110214518 +0100
+@@ -30,8 +30,11 @@
+ #include "zsh.mdh"
+
+ /* Headers for utmp/utmpx structures */
+-#ifdef HAVE_UTMP_H
++#if defined(HAVE_UTMP_H) && !defined(HAVE_UTMPX_H)
+ # include <utmp.h>
++#else
++# undef HAVE_STRUCT_UTMP
++# undef HAVE_STRUCT_UTMP_UT_HOST
+ #endif
+ #ifdef HAVE_UTMPX_H
+ # include <utmpx.h>