Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 07:32:27 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54602: Update astro/mymoon (maintainer): fix build with gcc-3.3
Message-ID:  <E19dNr1-000FWO-4O@voodoo.oberon.net>
Resent-Message-ID: <200307180540.h6I5e5bm041437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54602
>Category:       ports
>Synopsis:       Update astro/mymoon (maintainer): fix build with gcc-3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 22:40:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
Update astro/mymoon (maintainer): fix build with gcc-3.3 


>How-To-Repeat:
>Fix:
diff -urN mymoon.orig/files/patch-mymoon.c mymoon/files/patch-mymoon.c
--- mymoon.orig/files/patch-mymoon.c	Thu Jan  1 01:00:00 1970
+++ mymoon/files/patch-mymoon.c	Fri Jul 18 07:30:00 2003
@@ -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);
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19dNr1-000FWO-4O>