summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches
diff options
context:
space:
mode:
authorkim <kim>2002-09-15 19:16:44 +0000
committerkim <kim>2002-09-15 19:16:44 +0000
commit3a5a512d2156224c3e4375610673eef3ef545c82 (patch)
treec1e0dee9f6a8409c29bcf4b9cd88b38749e4bf69 /shells/tcsh/patches
parentb47fa4c6932dc736395093b7803cd607d2e9fad0 (diff)
downloadpkgsrc-3a5a512d2156224c3e4375610673eef3ef545c82.tar.gz
Add utmpx support from the tcsh CVS repo (by christos).
Diffstat (limited to 'shells/tcsh/patches')
-rw-r--r--shells/tcsh/patches/patch-am13
-rw-r--r--shells/tcsh/patches/patch-an18
2 files changed, 31 insertions, 0 deletions
diff --git a/shells/tcsh/patches/patch-am b/shells/tcsh/patches/patch-am
new file mode 100644
index 00000000000..01ddde3d79e
--- /dev/null
+++ b/shells/tcsh/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2002/09/15 19:16:45 kim Exp $
+
+--- tc.who.c.orig Mon Jul 1 17:12:04 2002
++++ tc.who.c Sun Sep 15 15:05:29 2002
+@@ -52,6 +52,8 @@
+ # ifndef _PATH_UTMP
+ # if defined(__UTMPX_FILE) && !defined(UTMPX_FILE)
+ # define _PATH_UTMP __UTMPX_FILE
++# elif defined(_PATH_UTMPX)
++# define _PATH_UTMP _PATH_UTMPX
+ # else
+ # define _PATH_UTMP UTMPX_FILE
+ # endif /* __UTMPX_FILE && !UTMPX_FILE */
diff --git a/shells/tcsh/patches/patch-an b/shells/tcsh/patches/patch-an
new file mode 100644
index 00000000000..3918a615198
--- /dev/null
+++ b/shells/tcsh/patches/patch-an
@@ -0,0 +1,18 @@
+$NetBSD: patch-an,v 1.1 2002/09/15 19:16:46 kim Exp $
+
+--- config/bsd4.4.orig Tue Feb 12 17:36:50 2002
++++ config/bsd4.4 Sun Sep 15 15:06:13 2002
+@@ -125,6 +125,13 @@
+ #define BSD_STYLE_COLORLS
+ #endif
+
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Version__ >= 106030000 /* NetBSD 1.6C */
++#define HAVEUTMPX
++#endif
++#endif
++
+ #if defined(__bsdi__)
+ /*
+ * _PATH_TCSHELL if you've change the installation location (vix)