1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/astro/xephem/files/patch-aa

87 lines
3.1 KiB
Plaintext
Raw Normal View History

--- Imakefile~ Mon Aug 21 10:36:30 1995
+++ Imakefile Thu Aug 1 11:58:04 1996
@@ -24,7 +24,7 @@
DEPXMLIB = $(USRLIBDIR)/libXm.a
- XMLIB = -lXm
+ XMLIB = ${MOTIFLIB}
DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = -lm
@@ -34,4 +34,9 @@
/* especially worth having this dependency so the displayed version is current.
*/
+install::
+ mkdir -p ${PREFIX}/lib/X11/xephem
+ tar -cf - auxil edb gscdbd tools work |(cd ${PREFIX}/lib/X11/xephem; tar -xf -)
+ cp XEphem.ad ${PREFIX}/lib/X11/app-defaults/XEphem
+
versionmenu.o: patchlevel.h
--- XEphem.ad~ Mon Aug 7 10:23:43 1995
+++ XEphem.ad Thu Aug 1 11:54:15 1996
@@ -102,39 +102,39 @@
XEphem*TZone.UTC.set: False
! default plot and listing filenames (a leading ~ refers to HOME)
-XEphem*Plot*Filename.value: work/ephem.plt
-XEphem*List*Filename.value: work/ephem.lst
+XEphem*Plot*Filename.value: /usr/X11R6/lib/X11/xephem/work/ephem.plt
+XEphem*List*Filename.value: /usr/X11R6/lib/X11/xephem/work/ephem.lst
! default sky list filename (a leading ~ refers to HOME)
-XEphem*SkyList*textString: work/skylist.txt
+XEphem*SkyList*textString: /usr/X11R6/lib/X11/xephem/work/skylist.txt
! default close list filename (a leading ~ refers to HOME)
-XEphem*CloseList*textString: work/closelist.txt
+XEphem*CloseList*textString: /usr/X11R6/lib/X11/xephem/work/closelist.txt
! default help file name (a leading ~ refers to HOME)
-XEphem.HELPFILE: auxil/xephem.hlp
+XEphem.HELPFILE: /usr/X11R6/lib/X11/xephem/auxil/xephem.hlp
! default Earth menu sites file name
-XEphem.SITESFILE: auxil/xephem_sites
+XEphem.SITESFILE: /usr/X11R6/lib/X11/xephem/auxil/xephem_sites
! default initial database directory, file name pattern, and file names.
! DBinitialFiles may list db files to read automatically upon startup, each
! separated by one blank. These will be searched for in DBdirectory.
-XEphem.DBdirectory: edb
+XEphem.DBdirectory: /usr/X11R6/lib/X11/xephem/edb
XEphem.DBpattern: *.edb
XEphem.DBinitialFiles: basic.edb
! default database fifo name (a leading ~ refers to HOME)
-XEphem.DBFIFO: fifos/xephem_db_fifo
+XEphem.DBFIFO: ~/.xephem/xephem_db_fifo
! default Skyview output fifo name (a leading ~ refers to HOME)
-XEphem.SKYOUTFIFO: fifos/xephem_out_fifo
+XEphem.SKYOUTFIFO: ~/.xephem/xephem_out_fifo
! default Skyview direction input fifo name (a leading ~ refers to HOME)
-XEphem.SKYINFIFO: fifos/xephem_in_fifo
+XEphem.SKYINFIFO: ~/.xephem/xephem_in_fifo
! default Skyview Button2 fifo name (a leading ~ refers to HOME)
-XEphem.SKYLOCFIFO: fifos/xephem_loc_fifo
+XEphem.SKYLOCFIFO: ~/.xephem/xephem_loc_fifo
! set Geocentric.set to true for geocentric separations,
! or Topocentric.set to true for topocentric separation..
--- misc.c~ Thu Aug 3 14:22:44 1995
+++ misc.c Thu Aug 1 11:00:17 1996
@@ -673,7 +673,9 @@
#include <errno.h>
#include <perror.h>
#else
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
extern char *sys_errlist[];
+#endif
extern int errno;
#endif
return (sys_errlist[errno]);