diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1994-11-18 02:55:04 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1994-11-18 02:55:04 +0000 |
commit | ac06a26ab59c1ea149cdf50c72673aa0a8888464 (patch) | |
tree | dd7f2fe5a2e724623c5622272444581928d334a0 /japanese/kterm16c/files | |
parent | The package files were bogus. Fix them. (diff) |
kterm - Kanji xterm, version 6.1.0 for R6
Notes
Notes:
svn path=/head/; revision=410
Diffstat (limited to 'japanese/kterm16c/files')
-rw-r--r-- | japanese/kterm16c/files/patch-aa | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/japanese/kterm16c/files/patch-aa b/japanese/kterm16c/files/patch-aa new file mode 100644 index 000000000000..19840aa09413 --- /dev/null +++ b/japanese/kterm16c/files/patch-aa @@ -0,0 +1,49 @@ +--- ./main.c.org Sat Jun 4 08:44:11 1994 ++++ ./main.c Tue Nov 15 20:59:40 1994 +@@ -284,22 +284,34 @@ + #ifdef UTMP_FILE + #define UTMP_FILENAME UTMP_FILE + #else ++#ifdef _PATH_UTMP ++#define UTMP_FILENAME _PATH_UTMP ++#else + #define UTMP_FILENAME "/etc/utmp" + #endif + #endif ++#endif + + #ifndef LASTLOG_FILENAME ++#ifdef _PATH_LASTLOG ++#define LASTLOG_FILENAME _PATH_LASTLOG ++#else + #define LASTLOG_FILENAME "/usr/adm/lastlog" /* only on BSD systems */ + #endif ++#endif + + #ifndef WTMP_FILENAME + #ifdef WTMP_FILE + #define WTMP_FILENAME WTMP_FILE + #else ++#ifdef _PATH_WTMP ++#define WTMP_FILENAME _PATH_WTMP ++#else + #ifdef SYSV + #define WTMP_FILENAME "/etc/wtmp" + #else + #define WTMP_FILENAME "/usr/adm/wtmp" ++#endif + #endif + #endif + #endif +--- ./misc.c.org Mon Mar 28 15:27:03 1994 ++++ ./misc.c Tue Nov 15 21:06:54 1994 +@@ -765,7 +765,9 @@ + char *SysErrorMsg (n) + int n; + { ++#ifndef __FreeBSD__ + extern char *sys_errlist[]; ++#endif + extern int sys_nerr; + + return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error"); |