Work arround build problem on NetBSD system with utmpx support.

This commit is contained in:
tron 2002-03-04 20:27:44 +00:00
parent 4e37a80011
commit 3a81dced62
2 changed files with 18 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.7 2002/01/02 15:45:16 rafal Exp $
$NetBSD: distinfo,v 1.8 2002/03/04 20:27:44 tron Exp $
SHA1 (zsh-4.0.4.tar.bz2) = 7e0f5f6fc5468afa9c42861119ed834617c4327a
Size (zsh-4.0.4.tar.bz2) = 1680823 bytes
SHA1 (patch-aa) = 5e5fde0f21a64c2e0579958868b05737ef0c6afb
SHA1 (patch-ab) = 6923c88e487b02654c99e602d2c7c097c2b0a2e0
SHA1 (patch-ac) = 0151b90d55021171f4c0ca44e0171d67739d00cc

View file

@ -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>