diff options
author | simokawa <simokawa@FreeBSD.org> | 1999-01-03 17:24:49 +0800 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 1999-01-03 17:24:49 +0800 |
commit | fc7eaad78f8a19a09825717a89880e0d6eacad8c (patch) | |
tree | 4e0de054f7058b45e6f46f48264b7f6ff039cb16 /astro/saoimage/files | |
parent | 154a56670f08b413c67fb2428a1841ffb5aca9f5 (diff) | |
download | freebsd-ports-gnome-fc7eaad78f8a19a09825717a89880e0d6eacad8c.tar.gz freebsd-ports-gnome-fc7eaad78f8a19a09825717a89880e0d6eacad8c.tar.zst freebsd-ports-gnome-fc7eaad78f8a19a09825717a89880e0d6eacad8c.zip |
Fix time() conflicts on alpha.
- disable "long time()"
- use "-DLONG64" for alpha
Diffstat (limited to 'astro/saoimage/files')
-rw-r--r-- | astro/saoimage/files/patch-aa | 19 | ||||
-rw-r--r-- | astro/saoimage/files/patch-ae | 11 |
2 files changed, 22 insertions, 8 deletions
diff --git a/astro/saoimage/files/patch-aa b/astro/saoimage/files/patch-aa index 5e35b1f85e0c..36085fd508b2 100644 --- a/astro/saoimage/files/patch-aa +++ b/astro/saoimage/files/patch-aa @@ -1,5 +1,5 @@ -*** makefile.FreeBSD.orig Fri Apr 17 02:36:13 1998 ---- makefile.FreeBSD Fri Apr 17 02:39:37 1998 +*** makefile.FreeBSD.orig Sun Jan 3 17:42:56 1999 +--- makefile.FreeBSD Sun Jan 3 18:15:02 1999 *************** *** 1,5 **** # @@ -78,7 +78,7 @@ # Libraries that move about or may require special specification. # ---- 62,87 ---- +--- 62,90 ---- # fired up on a system where the fifos are absent. Other than this, the # standalone operation is unhindered. @@ -92,6 +92,9 @@ + # -DMIRIAD - extras ! MFLAGS = -DLSB -DSUN -DPSCRIPT -DQUIT +! .if ${MACHINE_ARCH} == "alpha" +! MFLAGS += -DLONG64 +! .endif # OFLAGS: compiler optimization/debug options. @@ -130,7 +133,7 @@ # SAOimage libraries that live in subdirectories with their own makefiles. # This definition must be kept in correspondence with the DEPLIBS target. ---- 89,112 ---- +--- 92,115 ---- # usual link search path, i.e., it is not in /usr/lib, it may be necessary # to specify its path fully in XLIB. @@ -156,7 +159,7 @@ # SAOimage libraries that live in subdirectories with their own makefiles. # This definition must be kept in correspondence with the DEPLIBS target. *************** -*** 299,305 **** +*** 306,312 **** $(MAKE) ARCFILE=$(TAPEDEV) tar @@ -164,7 +167,7 @@ STRUCT = hfiles/struct.h hfiles/buffer.h hfiles/color.h hfiles/control.h \ hfiles/coord.h hfiles/cursor.h hfiles/image.h hfiles/window.h WORKS = $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/extern.h hfiles/wcs.h ---- 301,307 ---- +--- 311,317 ---- $(MAKE) ARCFILE=$(TAPEDEV) tar @@ -173,7 +176,7 @@ hfiles/coord.h hfiles/cursor.h hfiles/image.h hfiles/window.h WORKS = $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/extern.h hfiles/wcs.h *************** -*** 408,415 **** +*** 415,422 **** defs/dispbox.def defs/magnibox.def defs/panbox.def \ defs/btnbox.def defs/colorbox.def defs/graphbox.def \ defs/desktop.def defs/cursor.def @@ -182,7 +185,7 @@ mainslct.o : $(WORKS) mainutil.o : $(XLIBH) $(STRUCT) hfiles/extern.h menuctrl.o : $(WORKS) btnlib/buttons.h ---- 410,417 ---- +--- 420,427 ---- defs/dispbox.def defs/magnibox.def defs/panbox.def \ defs/btnbox.def defs/colorbox.def defs/graphbox.def \ defs/desktop.def defs/cursor.def diff --git a/astro/saoimage/files/patch-ae b/astro/saoimage/files/patch-ae new file mode 100644 index 000000000000..6f7f95e98f5a --- /dev/null +++ b/astro/saoimage/files/patch-ae @@ -0,0 +1,11 @@ +--- disppsct.c.orig Thu May 4 06:18:00 1995 ++++ disppsct.c Sun Jan 3 17:50:42 1999 +@@ -589,7 +589,7 @@ + char *getenv(); + #endif + +-#ifdef SUN ++#if defined(SUN) && defined(sun) + long time(); /* should be in time.h, but not in SunOS */ + #endif + long clock; |