Fix build for FreeBSD/alpha.

This commit is contained in:
Steve Price 2000-01-24 04:51:34 +00:00
parent d18d3a90d1
commit 6080921ce6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25000
3 changed files with 33 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- makefile.FreeBSD.orig Fri Nov 5 22:57:30 1999
+++ makefile.FreeBSD Sun Dec 19 14:55:37 1999
--- makefile.FreeBSD.orig Fri Nov 5 15:57:30 1999
+++ makefile.FreeBSD Sun Jan 16 23:43:10 2000
@@ -36,9 +36,9 @@
# FBCONFIG_2, which is set to the value of IMTOOLRC in the definition of
# the CFLAGS macro below.)
@ -13,3 +13,12 @@
IMTOOLRC = $(IMTRCDIR)imtoolrc
FIFO_I = $(ROOT)/dev/imt1i
@@ -76,7 +76,7 @@
# OFLAGS: compiler optimization/debug options.
#OFLAGS = -g -DDEBUG
-OFLAGS = -O2 -m486 -pipe
+OFLAGS = -O2 -pipe
# ADFLAGS: architecture-dependent floating point flags, etc.

View File

@ -0,0 +1,11 @@
--- disppsct.c.orig Sun Jan 16 23:45:17 2000
+++ disppsct.c Sun Jan 16 23:53:18 2000
@@ -598,7 +598,7 @@
char *getenv();
#endif
-#ifdef SUN
+#if defined(SUN) && !defined(__FreeBSD__)
long time(); /* should be in time.h, but not in SunOS */
#endif
long clock;

View File

@ -0,0 +1,11 @@
--- rgnwrite.c.orig Sun Jan 16 23:54:54 2000
+++ rgnwrite.c Sun Jan 16 23:55:51 2000
@@ -183,7 +183,7 @@
#ifdef LONG64
int time();
#else
-#ifndef VMS
+#if !defined(VMS) && !defined(__FreeBSD__)
long time();
#else
time_t time();