diff options
author | tg <tg@FreeBSD.org> | 2000-07-27 19:37:26 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2000-07-27 19:37:26 +0800 |
commit | c6b4c41cbb8d022e3ae521e20f6bbaead3b34034 (patch) | |
tree | d5acdbfb1fa8713c260d4d03f9d1ed3a69209a57 /astro | |
parent | eb5d408390d023147f5ce45e43cd18a5b29c3d9c (diff) | |
download | freebsd-ports-gnome-c6b4c41cbb8d022e3ae521e20f6bbaead3b34034.tar.gz freebsd-ports-gnome-c6b4c41cbb8d022e3ae521e20f6bbaead3b34034.tar.zst freebsd-ports-gnome-c6b4c41cbb8d022e3ae521e20f6bbaead3b34034.zip |
patch-aa: Respect $CFLAGS.
patch-ab: Y2K fix.
Diffstat (limited to 'astro')
-rw-r--r-- | astro/sattrack/files/patch-aa | 4 | ||||
-rw-r--r-- | astro/sattrack/files/patch-ab | 11 |
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); |