diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-18 13:58:58 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-18 13:58:58 +0800 |
commit | 3619a5794e13f7c29a92c9c2643a2c19ac421ded (patch) | |
tree | 61dfc603fd86c0d934419fb0bc6405e291cc1c20 /astro/mymoon | |
parent | bc1831275e34199c5818ebbb4661d5e1e538cb1c (diff) | |
download | freebsd-ports-gnome-3619a5794e13f7c29a92c9c2643a2c19ac421ded.tar.gz freebsd-ports-gnome-3619a5794e13f7c29a92c9c2643a2c19ac421ded.tar.zst freebsd-ports-gnome-3619a5794e13f7c29a92c9c2643a2c19ac421ded.zip |
fix astro/mymoon: fix build with gcc-3.3
PR: 54602
Submitted by: Kirill Ponomarew <ponomarew@oberon.net> (maintainer)
Diffstat (limited to 'astro/mymoon')
-rw-r--r-- | astro/mymoon/files/patch-mymoon.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/astro/mymoon/files/patch-mymoon.c b/astro/mymoon/files/patch-mymoon.c new file mode 100644 index 000000000000..f6bb0da8788a --- /dev/null +++ b/astro/mymoon/files/patch-mymoon.c @@ -0,0 +1,23 @@ +--- mymoon.c.orig Fri Jul 18 09:25:58 2003 ++++ mymoon.c Fri Jul 18 09:26:35 2003 +@@ -122,14 +122,12 @@ + getmaxyx(stdscr,row,cols); + + mvprintw(row/4,0, +-" +- Moon's situation at: %d/%d/%d %d:%d:%d +- Age: +- %d days +- Rise: %d/%d/%d %d:%d:%d +- Set: %d/%d/%d %d:%d:%d +- Illuminated: %.4f%% +- Moon->Earth distance: %.3f Km\n\n +-", ++ "Moon's situation at: %d/%d/%d %d:%d:%d\n" ++ "Age: +- %d days\n" ++ "Rise: %d/%d/%d %d:%d:%d\n" ++ "Set: %d/%d/%d %d:%d:%d\n" ++ "Illuminated: %.4f%%\n" ++ "Moon->Earth distance: %.3f Km\n\n", + date3.days,date3.months,date3.years,date3.hours,date3.minutes,(int)date3.seconds,(int)age, + date1.days,date1.months,date1.years,date1.hours,date1.minutes,(int)date1.seconds, + date2.days,date2.months,date2.years,date2.hours,date2.minutes,(int)date2.seconds,light,dist); |