From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 17 22:40:07 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA59737B401 for ; Thu, 17 Jul 2003 22:40:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA0A443F75 for ; Thu, 17 Jul 2003 22:40:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6I5e5Up041438 for ; Thu, 17 Jul 2003 22:40:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6I5e5bm041437; Thu, 17 Jul 2003 22:40:05 -0700 (PDT) Resent-Date: Thu, 17 Jul 2003 22:40:05 -0700 (PDT) Resent-Message-Id: <200307180540.h6I5e5bm041437@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirill Ponomarew Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D31937B401 for ; Thu, 17 Jul 2003 22:32:30 -0700 (PDT) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C1043F3F for ; Thu, 17 Jul 2003 22:32:29 -0700 (PDT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.20) id 19dNr0-0009CK-VG for FreeBSD-gnats-submit@freebsd.org; Fri, 18 Jul 2003 07:32:28 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.20) id 19dNr1-000FWO-4O for FreeBSD-gnats-submit@freebsd.org; Fri, 18 Jul 2003 07:32:27 +0200 Message-Id: Date: Fri, 18 Jul 2003 07:32:27 +0200 From: Kirill Ponomarew Sender: Kirill Ponomarew To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/54602: Update astro/mymoon (maintainer): fix build with gcc-3.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 05:40:08 -0000 >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: