pkgsrc/x11/rxvt/patches/patch-aj
minskim 55496e93d6 Make this package build on Interix. Based on patches submitted by
Hiramatsu Yoshifumi in PR pkg/26962.
  - Use ut_session only when it is available in struct utmpx.
  - If updwtmpx is not available, use pututxline instead.
  - Bulid functions using struct utmp only when the struct utmp is available.
2004-09-15 18:29:20 +00:00

10 lines
500 B
Text

$NetBSD: patch-aj,v 1.1 2004/09/15 18:29:20 minskim Exp $
--- src/logging.intpro.orig Wed Mar 26 00:12:28 2003
+++ src/logging.intpro
@@ -1,3 +1,5 @@
+#ifdef HAVE_STRUCT_UTMP
int rxvt_write_bsd_utmp __PROTO((int utmp_pos, struct utmp *wu));
void rxvt_update_wtmp __PROTO((const char *fname, const struct utmp *putmp));
+#endif
void rxvt_update_lastlog __PROTO((const char *fname, const char *pty, const char *host));