summaryrefslogtreecommitdiff
path: root/x11/wterm
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-03-15 08:48:31 +0000
committertron <tron@pkgsrc.org>2002-03-15 08:48:31 +0000
commit8327fc82cf1546e87767c623f1cceae2b1d38a9d (patch)
tree528753d3dbad2eed1ab161f2572082b39d4285b1 /x11/wterm
parent55450dbfb7382850590ebd7377fdd3676fb959e5 (diff)
downloadpkgsrc-8327fc82cf1546e87767c623f1cceae2b1d38a9d.tar.gz
Back out work arround for missing updwtmpx(3) in NetBSD-current because
the function was added.
Diffstat (limited to 'x11/wterm')
-rw-r--r--x11/wterm/distinfo4
-rw-r--r--x11/wterm/patches/patch-ab23
2 files changed, 4 insertions, 23 deletions
diff --git a/x11/wterm/distinfo b/x11/wterm/distinfo
index 39796f632be..7c88509a215 100644
--- a/x11/wterm/distinfo
+++ b/x11/wterm/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2002/03/05 15:23:45 tron Exp $
+$NetBSD: distinfo,v 1.5 2002/03/15 08:48:31 tron Exp $
SHA1 (wterm-6.2.9.tar.bz2) = e759dea038d07146d70e9cd88ff4c68e4b0fd5b2
Size (wterm-6.2.9.tar.bz2) = 262049 bytes
SHA1 (patch-aa) = 8c9df1676f7fd59f0cddfb39cf2a719d58b2dab5
-SHA1 (patch-ab) = 1f1331af44a0ba89c80e4cf26fb14445c34343f8
+SHA1 (patch-ab) = 032dc562802dd04f7f891fa1b033033c72d4dca3
diff --git a/x11/wterm/patches/patch-ab b/x11/wterm/patches/patch-ab
index 4a2b81ece15..38d0245ac0a 100644
--- a/x11/wterm/patches/patch-ab
+++ b/x11/wterm/patches/patch-ab
@@ -1,17 +1,11 @@
-$NetBSD: patch-ab,v 1.3 2002/03/05 15:23:46 tron Exp $
+$NetBSD: patch-ab,v 1.4 2002/03/15 08:48:32 tron Exp $
--- src/utmp.c.orig Sun Mar 5 12:21:34 2000
+++ src/utmp.c Tue Mar 5 16:21:49 2002
-@@ -66,12 +66,18 @@
+@@ -66,12 +66,12 @@
# endif
#endif
-+#if defined(__NetBSD__) && defined(HAVE_UTMPX_H)
-+#undef HAVE_UTMPX_H
-+#define HAVE_UTMPX_H_KLUDGE
-+#define wterm_update_wtmp updwtmpx
-+#endif
-+
/* ------------------------------------------------------------------------- */
#ifndef HAVE_UTMPX_H /* supposedly we have updwtmpx ? */
#ifdef WTMP_SUPPORT
@@ -31,19 +25,6 @@ $NetBSD: patch-ab,v 1.3 2002/03/05 15:23:46 tron Exp $
/* unlocking the file */
lck.l_type = F_UNLCK;
-@@ -100,6 +106,12 @@
- }
- #endif /* WTMP_SUPPORT */
- #endif /* !HAVE_UTMPX_H */
-+
-+#ifdef HAVE_UTMPX_H_KLUDGE
-+#undef HAVE_UTMPX_H_KLUDGE
-+#define HAVE_UTMPX_H
-+#endif
-+
- /* ------------------------------------------------------------------------- */
- #ifdef UTMP_SUPPORT
- /*
@@ -218,8 +230,13 @@
#endif /* HAVE_UTMP_HOST */