summaryrefslogtreecommitdiff
path: root/astro/ephem/files/patch-ah
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-06-03 09:14:13 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-06-03 09:14:13 +0000
commit7a509615924c7b68a2eb763e0c1d0c12195097c6 (patch)
tree9fbd0279c1ccc383dcc519a1ddda5bee97930105 /astro/ephem/files/patch-ah
parentactivate nspmod (diff)
An interactive terminal-based ephemeris program. The source tarball is
in LOCAL_PORTS because those out on the 'net can't agree on the right size and include DOS executables and such. PR: 3407 Submitted by: Slaven Rezic <eserte@cs.tu-berlin.de>
Notes
Notes: svn path=/head/; revision=6694
Diffstat (limited to 'astro/ephem/files/patch-ah')
-rw-r--r--astro/ephem/files/patch-ah36
1 files changed, 36 insertions, 0 deletions
diff --git a/astro/ephem/files/patch-ah b/astro/ephem/files/patch-ah
new file mode 100644
index 000000000000..aace63ed1915
--- /dev/null
+++ b/astro/ephem/files/patch-ah
@@ -0,0 +1,36 @@
+*** plot.c.orig Tue Apr 15 01:07:37 1997
+--- plot.c Tue Apr 15 02:42:45 1997
+***************
+*** 15,25 ****
+
+ extern char *strcpy();
+
+ #ifdef VMS
+ #include <perror.h>
+- #include <errno.h>
+ #else
+ extern char *sys_errlist[];
+ extern errno;
+ #endif
+
+--- 15,34 ----
+
+ extern char *strcpy();
+
++ #if (defined(__unix__) || defined(unix)) && !defined(USG)
++ #include <sys/param.h>
++ #endif
++
++ #if defined(VMS) || defined(unix)
++ #include <errno.h>
++ #endif
++
+ #ifdef VMS
+ #include <perror.h>
+ #else
++ #ifndef BSD
+ extern char *sys_errlist[];
++ #endif
+ extern errno;
+ #endif
+