aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/sattrack/files/patch-aa4
-rw-r--r--astro/sattrack/files/patch-ab11
2 files changed, 13 insertions, 2 deletions
diff --git a/astro/sattrack/files/patch-aa b/astro/sattrack/files/patch-aa
index 7d3321200936..8971dadd10d5 100644
--- a/astro/sattrack/files/patch-aa
+++ b/astro/sattrack/files/patch-aa
@@ -130,8 +130,8 @@
# i386 (i386 with FreeBSD)
#
! CPU = i386/FreeBSD
-! CC_CMACH = -O -DFREEBSD -DIOCTL
-! CC_LMACH =
+! CC_CMACH = -DFREEBSD -DIOCTL ${CFLAGS}
+! CC_LMACH = ${LFLAGS}
! CC = gcc
#
diff --git a/astro/sattrack/files/patch-ab b/astro/sattrack/files/patch-ab
new file mode 100644
index 000000000000..95b903786798
--- /dev/null
+++ b/astro/sattrack/files/patch-ab
@@ -0,0 +1,11 @@
+--- sattrack/sattime.c~ Sat Jan 4 22:19:08 1997
++++ sattrack/sattime.c Wed Jul 26 17:03:49 2000
+@@ -269,7 +269,7 @@
+ if (gdnY < 50) /* allow 4 or 2 digit year specifications */
+ gdnY += 2000;
+ else
+- if (gdnY < 100)
++ if (gdnY <= 100)
+ gdnY += 1900;
+
+ result = (long) ((((gdnY-1901)*1461) >> 2) + monthDays[gdnM-1] + gdnD+365);