pkgsrc/x11/rxvt/patches/patch-ag
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

32 lines
924 B
Text

$NetBSD: patch-ag,v 1.4 2004/09/15 18:29:20 minskim Exp $
--- autoconf/config.h.in.orig Wed Feb 19 18:35:55 2003
+++ autoconf/config.h.in
@@ -123,6 +123,9 @@
/* Define to 1 if you have the <sys/strredir.h> header file. */
#undef HAVE_SYS_STRREDIR_H
+/* Define to 1 if you have the <sys/stropts.h> header file. */
+#undef HAVE_SYS_STROPTS_H
+
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
@@ -150,11 +153,17 @@
/* Define to 1 if you have the `updwtmp' function. */
#undef HAVE_UPDWTMP
+/* Define to 1 if you have the `updwtmpx' function. */
+#undef HAVE_UPDWTMPX
+
/* Define to 1 if you have the <utmpx.h> header file. */
#undef HAVE_UTMPX_H
/* Define if struct utmpx contains ut_host */
#undef HAVE_UTMPX_HOST
+
+/* Define if struct utmpx contains ut_session */
+#undef HAVE_UTMPX_SESSION
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H