summaryrefslogtreecommitdiff
path: root/shells/zsh/patches
diff options
context:
space:
mode:
authortron <tron>2002-03-04 20:27:44 +0000
committertron <tron>2002-03-04 20:27:44 +0000
commite3f5066387be2c51a9f5239157811a00db92ef0c (patch)
tree1eda6f96b6e04a55baaad44869e11edd53640408 /shells/zsh/patches
parent73f6af41f8c03ccb512a36f6f780f32cb33786f8 (diff)
downloadpkgsrc-e3f5066387be2c51a9f5239157811a00db92ef0c.tar.gz
Work arround build problem on NetBSD system with utmpx support.
Diffstat (limited to 'shells/zsh/patches')
-rw-r--r--shells/zsh/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/zsh/patches/patch-ac b/shells/zsh/patches/patch-ac
new file mode 100644
index 00000000000..d6cc81f19fe
--- /dev/null
+++ b/shells/zsh/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.7 2002/03/04 20:27:45 tron Exp $
+
+--- Src/watch.c.orig Tue Jan 16 14:44:20 2001
++++ Src/watch.c Mon Mar 4 21:22:10 2002
+@@ -29,6 +29,11 @@
+
+ #include "zsh.mdh"
+
++#if defined(__NetBSD__) && defined(HAVE_UTMPX_H)
++# undef HAVE_UTMPX_H
++# undef HAVE_STRUCT_UTMPX
++#endif
++
+ /* Headers for utmp/utmpx structures */
+ #ifdef HAVE_UTMP_H
+ # include <utmp.h>