diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-03-25 08:14:44 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-03-25 08:14:44 +0000 |
commit | ef4155d09f367aaad48dff405bec31db8dbf35a1 (patch) | |
tree | 23c90b4335fb5c4ccab3c764d8c65764c68a9c18 /japanese/today | |
parent | 46c6ba3859fc282ccba3f5b1e1b4532b8eb06870 (diff) | |
download | ports-ef4155d09f367aaad48dff405bec31db8dbf35a1.tar.gz ports-ef4155d09f367aaad48dff405bec31db8dbf35a1.zip |
Notes
Diffstat (limited to 'japanese/today')
-rw-r--r-- | japanese/today/files/patch-aa | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/japanese/today/files/patch-aa b/japanese/today/files/patch-aa index 88c0ae5a0f03..b410ea9289e7 100644 --- a/japanese/today/files/patch-aa +++ b/japanese/today/files/patch-aa @@ -14,11 +14,16 @@ diff -c old/calendar.c new/calendar.c #include "getsb.h" #include "kyureki.h" #include "main.h" ---- 37,45 ---- +--- 37,50 ---- #include "common.h" #include "config.h" #include "getfile.h" -! #ifndef __FreeBSD__ +! #ifdef __FreeBSD__ +! /* FreeBSD version 2.x and earlier has them defined in stdlib.h */ +! #if __FreeBSD__ >= 3 +! #include <unistd.h> +! #endif +! #else ! #include "getopt.h" ! #endif #include "getsb.h" @@ -168,11 +173,16 @@ diff -c old/main.c new/main.c #include "history.h" #include "kyureki.h" #include "machine.h" ---- 18,26 ---- +--- 18,31 ---- #include "date.h" #include "event.h" #include "getfile.h" -! #ifndef __FreeBSD__ +! #ifdef __FreeBSD__ +! /* FreeBSD version 2.x and earlier has them defined in stdlib.h */ +! #if __FreeBSD__ >= 3 +! #include <unistd.h> +! #endif +! #else ! #include "getopt.h" ! #endif #include "history.h" @@ -393,7 +403,7 @@ diff -c old/version.c new/version.c *** 28,33 **** --- 28,34 ---- const char Version[] = "today " __DATE__ " version 2.10B (Àµ¼°ÈÇ)"; - const char RCSid[] ="$Id: patch-aa,v 1.1.1.1 1996/10/18 15:04:50 asami Exp $"; + const char RCSid[] ="$Id: patch-aa,v 1.1.1.2 1996/11/10 12:40:20 asami Exp $"; const char UseLanguage[] = + #if !defined(TRANS) #if defined(human68k) |