From c6b4c41cbb8d022e3ae521e20f6bbaead3b34034 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 27 Jul 2000 11:37:26 +0000 Subject: patch-aa: Respect $CFLAGS. patch-ab: Y2K fix. --- astro/sattrack/files/patch-aa | 4 ++-- astro/sattrack/files/patch-ab | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 astro/sattrack/files/patch-ab (limited to 'astro') 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); -- cgit