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
commit3a5a512d2156224c3e4375610673eef3ef545c82 (patch)
treec1e0dee9f6a8409c29bcf4b9cd88b38749e4bf69 /shells/tcsh/patches/patch-am
parentb47fa4c6932dc736395093b7803cd607d2e9fad0 (diff)
downloadpkgsrc-3a5a512d2156224c3e4375610673eef3ef545c82.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 */