From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 7 22:40:02 2005 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 2FE2E16A4DD for ; Sat, 7 May 2005 22:40:02 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5A5743D9A for ; Sat, 7 May 2005 22:40:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j47Me1nC062665 for ; Sat, 7 May 2005 22:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j47Me16P062664; Sat, 7 May 2005 22:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 7 May 2005 22:40:01 GMT Resent-Message-Id: <200505072240.j47Me16P062664@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, Martin Kaeske Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B8C716A4DD for ; Sat, 7 May 2005 22:35:52 +0000 (GMT) Received: from piggy.rz.tu-ilmenau.de (piggy.rz.tu-ilmenau.de [141.24.4.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FC8443D96 for ; Sat, 7 May 2005 22:35:51 +0000 (GMT) (envelope-from Martin.Kaeske@Stud.TU-Ilmenau.DE) Received: from walnut.hh59.local (td9091bab.pool.terralink.de [217.9.27.171]) (authenticated bits=0)j47MZmIQ020284 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for finalrecipients; Sun, 8 May 2005 00:35:49 +0200 (MET DST) Received: from fourier.hh59.local (fourier [192.168.2.41]) by walnut.hh59.local (8.12.8/8.12.8) with ESMTP id j47MZlAB003855 for ; Sun, 8 May 2005 00:35:47 +0200 (CEST) (envelope-from martin@fourier.hh59.local) Received: by fourier.hh59.local (Postfix, from userid 1001) id 3900C256222; Sun, 8 May 2005 00:35:50 +0200 (CEST) Message-Id: <20050507223550.3900C256222@fourier.hh59.local> Date: Sun, 8 May 2005 00:35:50 +0200 (CEST) From: Martin Kaeske To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80740: [Patch] unbrake games/flightgear on 4.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Martin Kaeske List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 22:40:02 -0000 >Number: 80740 >Category: ports >Synopsis: [Patch] unbrake games/flightgear on 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 07 22:40:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Martin Kaeske >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD fourier.hh59.local 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Apr 1 19:37:18 CEST 2005 martin@fourier.hh59.local:/usr/obj/usr/src/sys/FOURIER i386 >Description: The port games/flightgear is marked as broken on FreeBSD-4.x. The error is that snprintf() cannot be found, this is due to a missing "#include " in the affected source files. >How-To-Repeat: Comment out the "BROKEN" line in the Makefile and try to compile. >Fix: Put the attached patch files to games/flightgear/files and build the port. --- patch-FGEngine.cpp begins here --- --- src/FDM/JSBSim/FGEngine.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGEngine.cpp Sat May 7 15:57:56 2005 @@ -52,6 +52,7 @@ # include # endif #endif +#include #include "FGEngine.h" #include "FGTank.h" --- patch-FGEngine.cpp ends here --- --- patch-FGFCS.cpp begins here --- --- src/FDM/JSBSim/FGFCS.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGFCS.cpp Sat May 7 15:57:43 2005 @@ -36,6 +36,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% INCLUDES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ +#include #include "FGFCS.h" #include "FGFDMExec.h" --- patch-FGFCS.cpp ends here --- --- patch-FGNozzle.cpp begins here --- --- src/FDM/JSBSim/FGNozzle.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGNozzle.cpp Sat May 7 15:57:32 2005 @@ -36,6 +36,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ #include +#include #include "FGNozzle.h" #include "FGAtmosphere.h" --- patch-FGNozzle.cpp ends here --- --- patch-FGPropeller.cpp begins here --- --- src/FDM/JSBSim/FGPropeller.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGPropeller.cpp Sat May 7 15:57:23 2005 @@ -36,6 +36,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ #include +#include #include "FGPropeller.h" #include "FGPropagate.h" --- patch-FGPropeller.cpp ends here --- --- patch-FGState.cpp begins here --- --- src/FDM/JSBSim/FGState.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGState.cpp Sat May 7 15:57:13 2005 @@ -51,6 +51,8 @@ //#define snprintf _snprintf #endif +#include + #include "FGState.h" namespace JSBSim { --- patch-FGState.cpp ends here --- --- patch-FGThruster.cpp begins here --- --- src/FDM/JSBSim/FGThruster.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGThruster.cpp Sat May 7 15:56:47 2005 @@ -36,6 +36,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ #include +#include #include "FGThruster.h" --- patch-FGThruster.cpp ends here --- --- patch-FGTrim.cpp begins here --- --- src/FDM/JSBSim/FGTrim.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGTrim.cpp Sat May 7 15:56:25 2005 @@ -45,6 +45,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ #include +#include #include "FGFDMExec.h" #include "FGAtmosphere.h" --- patch-FGTrim.cpp ends here --- --- patch-FGTurbine.cpp begins here --- --- src/FDM/JSBSim/FGTurbine.cpp.orig Sat May 7 15:55:16 2005 +++ src/FDM/JSBSim/FGTurbine.cpp Sat May 7 15:56:36 2005 @@ -41,6 +41,7 @@ #include #include +#include #include "FGTurbine.h" --- patch-FGTurbine.cpp ends here --- >Release-Note: >Audit-Trail: >Unformatted: