diff options
author | tron <tron> | 2002-03-04 20:27:44 +0000 |
---|---|---|
committer | tron <tron> | 2002-03-04 20:27:44 +0000 |
commit | c3d864bda1a7696152166c134389c190c1ca1b0d (patch) | |
tree | 1eda6f96b6e04a55baaad44869e11edd53640408 /shells/zsh/patches | |
parent | 631f323bdf542bebe503c670f6cb7662a8696ebf (diff) | |
download | pkgsrc-c3d864bda1a7696152166c134389c190c1ca1b0d.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-ac | 16 |
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> |