--- Eterm-0.9.2/doc/Makefile.in.orig 2003-05-25 14:49:16.000000000 -0700 +++ Eterm-0.9.2/doc/Makefile.in 2003-05-25 14:49:40.000000000 -0700 @@ -267,14 +267,11 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean -all: Makefile Eterm.1.html +all: Makefile Eterm.1: $(top_srcdir)/doc/Eterm.1.in $(SED) -e 's%@''VERSION''@%$(VERSION)%g' -e 's%@''DATE''@%$(DATE)%g' -e 's%@THEMEDIR@%$(pkgdatadir)/themes%g' $(top_srcdir)/doc/$@.in > $@ -Eterm.1.html: Eterm.1 - (nroff -man $< | man2html -title Eterm > $@) || : - install-data-hook: $(TIC) Eterm.ti || (mkinstalldirs $(HOME)/.terminfo && $(TIC) -o$(HOME)/.terminfo Eterm.ti) || : -(infocmp -C -sc Eterm | sed -e '/Reconstructed/d' -e '/\.\.sa=/d' \ --- Eterm-0.9.2/src/utmp.c.orig 2003-05-25 15:00:09.000000000 -0700 +++ Eterm-0.9.2/src/utmp.c 2003-05-25 15:04:05.000000000 -0700 @@ -38,7 +38,7 @@ # endif /* don't go off end of ut_id & remember if an entry has been made */ -# if defined(USE_SYSV_UTMP) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) +# if defined(USE_SYSV_UTMP) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) static char ut_id[5]; /* remember if entry to utmp made */ # else static int utmp_pos; /* BSD position of utmp-stamp */ @@ -222,7 +222,7 @@ # else /* USE_SYSV_UTMP */ /* BSD utmp support */ -# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__) /* used to hold the line we are using */ static char ut_line[32]; @@ -348,7 +348,7 @@ return; } -# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__) strncpy(ut_line, pty, 31); strncpy(utmp.ut_line, pty, UT_LINESIZE); @@ -376,7 +376,7 @@ void remove_utmp_entry(void) { -# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__) logout(ut_line); logwtmp(ut_line, "", ""); # else /* __FreeBSD__ */ --- Eterm-0.9.2/src/eterm_utmp.h 2002-06-27 12:15:53.000000000 -0700 +++ Eterm-0.9.2-patched/src/eterm_utmp.h 2003-05-25 15:23:52.000000000 -0700 @@ -69,7 +69,7 @@ # ifdef HAVE_LASTLOG_H # include # endif -# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(__APPLE__) # include # endif