aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-07-27 11:37:26 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-07-27 11:37:26 +0000
commitffc22a716b554225f7c7e8c8f6299ff59535279b (patch)
tree5743b30f388542f4f0ae434842ed626f8cc49ddc
parentbdaa4bb4273d34615f377d00a4f8cecb9c73ae3d (diff)
downloadports-ffc22a716b554225f7c7e8c8f6299ff59535279b.tar.gz
ports-ffc22a716b554225f7c7e8c8f6299ff59535279b.zip
Notes
-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);