summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-am
diff options
context:
space:
mode:
authorkim <kim>2002-09-15 19:16:44 +0000
committerkim <kim>2002-09-15 19:16:44 +0000
commit08147f8922736dc328b6031999965a301f9f4f07 (patch)
treec1e0dee9f6a8409c29bcf4b9cd88b38749e4bf69 /shells/tcsh/patches/patch-am
parent6b8f0cf16ec7c04db21da56ad52779f67a23e5ec (diff)
downloadpkgsrc-08147f8922736dc328b6031999965a301f9f4f07.tar.gz
Add utmpx support from the tcsh CVS repo (by christos).
Diffstat (limited to 'shells/tcsh/patches/patch-am')
-rw-r--r--shells/tcsh/patches/patch-am13
1 files changed, 13 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 */