diff options
author | Cy Schubert <cy@FreeBSD.org> | 2010-02-09 07:05:42 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2010-02-09 07:05:42 +0000 |
commit | 0debb538115b56b08ea7ed5e1db7a1467ff23e02 (patch) | |
tree | 6e92229b8508a68fb0b99da6c5767ae5af484ed7 /sysutils/screen/files/patch-os.h | |
parent | 4780495de4c8d80ab255de1ac427afa31e127193 (diff) | |
download | ports-0debb538115b56b08ea7ed5e1db7a1467ff23e02.tar.gz ports-0debb538115b56b08ea7ed5e1db7a1467ff23e02.zip |
Notes
Diffstat (limited to 'sysutils/screen/files/patch-os.h')
-rw-r--r-- | sysutils/screen/files/patch-os.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/sysutils/screen/files/patch-os.h b/sysutils/screen/files/patch-os.h index 8e047de01269..9826ba4f9ea5 100644 --- a/sysutils/screen/files/patch-os.h +++ b/sysutils/screen/files/patch-os.h @@ -1,5 +1,5 @@ ---- os.h.orig 2002-01-08 07:42:33.000000000 -0800 -+++ os.h 2010-01-26 21:20:44.000000000 -0800 +--- os.h.orig Tue Jan 8 07:42:33 2002 ++++ os.h Tue Sep 9 17:39:58 2003 @@ -161,7 +161,7 @@ # define setregid(rgid, egid) setresgid(rgid, egid, -1) #endif @@ -9,13 +9,25 @@ # define USE_SETEUID #endif -@@ -262,7 +262,9 @@ +@@ -262,7 +262,11 @@ #if defined(UTMPOK) || defined(BUGGYGETLOGIN) # if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux) # include <utmpx.h> -+#ifndef __FreeBSD_version - # define UTMPFILE UTMPX_FILE -+#endif +-# define UTMPFILE UTMPX_FILE ++# ifdef UTMPX_FILE ++# define UTMPFILE UTMPX_FILE ++# else ++# define UTMPFILE "/nonexistent" ++# endif # define utmp utmpx # define getutent getutxent # define getutid getutxid +@@ -270,7 +274,7 @@ + # define pututline pututxline + # define setutent setutxent + # define endutent endutxent +-# define ut_time ut_xtime ++# define ut_time ut_tv.tv_sec + # else /* SVR4 */ + # include <utmp.h> + # endif /* SVR4 */ |