pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/zsh3 Add another Interix hack -- ut_xtime is th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4000f15410b
branches:  trunk
changeset: 488213:e4000f15410b
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 25 18:22:24 2005 +0000

description:
Add another Interix hack -- ut_xtime is the obsolescent name for utmpx.ut_tv.

diffstat:

 shells/zsh3/hacks.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r f0ff639e651b -r e4000f15410b shells/zsh3/hacks.mk
--- a/shells/zsh3/hacks.mk      Tue Jan 25 18:22:08 2005 +0000
+++ b/shells/zsh3/hacks.mk      Tue Jan 25 18:22:24 2005 +0000
@@ -1,13 +1,16 @@
-# $NetBSD: hacks.mk,v 1.1 2005/01/24 22:27:48 tv Exp $
+# $NetBSD: hacks.mk,v 1.2 2005/01/25 18:22:24 tv Exp $
 
 .ifndef ZSH3_HACKS_MK
 ZSH3_HACKS_MK=         # defined
 
 ### [Mon Jan 24 22:27:33 UTC 2005 : tv]
-### For some reason, the GETPGRP_VOID test is not working correctly
+### for some reason, the GETPGRP_VOID test is not working correctly;
+### also, ut_xtime (the obsolescent utmpx field) is changed
 ###
 .if ${OPSYS} == "Interix"
+PKG_HACKS+=            compat
 CONFIGURE_ENV+=                ac_cv_func_getpgrp_void=yes
+CPPFLAGS+=             -Dut_xtime=ut_tv.tv_sec
 .endif
 
 .endif



Home | Main Index | Thread Index | Old Index