aboutsummaryrefslogtreecommitdiff
path: root/games/flightgear/files
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-20 22:16:58 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-20 22:16:58 +0000
commitfe6bee82eca48c4cd18750562eb8b436d175f2fc (patch)
treea811fc88ea51021de73f7c47f683197c84c31274 /games/flightgear/files
parentdbb156a8bf3307512ab20269abd8f9a70a819f08 (diff)
downloadports-fe6bee82eca48c4cd18750562eb8b436d175f2fc.tar.gz
ports-fe6bee82eca48c4cd18750562eb8b436d175f2fc.zip
Notes
Diffstat (limited to 'games/flightgear/files')
-rw-r--r--games/flightgear/files/patch-src_Airports_simple.hxx10
-rw-r--r--games/flightgear/files/patch-src_Main_metar__main.cxx10
-rw-r--r--games/flightgear/files/patch-src_Main_renderer.cxx11
-rw-r--r--games/flightgear/files/patch-src_Network_ATC-Inputs.cxx15
-rw-r--r--games/flightgear/files/patch-src_Network_ATC-Outputs.cxx18
5 files changed, 64 insertions, 0 deletions
diff --git a/games/flightgear/files/patch-src_Airports_simple.hxx b/games/flightgear/files/patch-src_Airports_simple.hxx
new file mode 100644
index 000000000000..db875e37d9c0
--- /dev/null
+++ b/games/flightgear/files/patch-src_Airports_simple.hxx
@@ -0,0 +1,10 @@
+--- src/Airports/simple.hxx.orig Sun Nov 20 18:54:27 2005
++++ src/Airports/simple.hxx Sun Nov 20 18:54:43 2005
+@@ -36,6 +36,7 @@
+ #ifdef HAVE_CONFIG_H
+ # include <config.h>
+ #endif
++#include <time.h>
+ #include <simgear/math/point3d.hxx>
+ #include <simgear/route/waypoint.hxx>
+ #include <simgear/compiler.h>
diff --git a/games/flightgear/files/patch-src_Main_metar__main.cxx b/games/flightgear/files/patch-src_Main_metar__main.cxx
new file mode 100644
index 000000000000..5cb1cd8edc24
--- /dev/null
+++ b/games/flightgear/files/patch-src_Main_metar__main.cxx
@@ -0,0 +1,10 @@
+--- src/Main/metar_main.cxx.orig Sun Nov 20 19:38:38 2005
++++ src/Main/metar_main.cxx Sun Nov 20 19:39:05 2005
+@@ -20,6 +20,7 @@
+ //
+ // $Id: metar_main.cxx,v 1.10 2005/10/25 16:28:46 ehofman Exp $
+
++#include <time.h>
+ #include <iomanip>
+ #include <sstream>
+ #include <string.h>
diff --git a/games/flightgear/files/patch-src_Main_renderer.cxx b/games/flightgear/files/patch-src_Main_renderer.cxx
new file mode 100644
index 000000000000..29f4a710a069
--- /dev/null
+++ b/games/flightgear/files/patch-src_Main_renderer.cxx
@@ -0,0 +1,11 @@
+--- src/Main/renderer.cxx.orig Sun Nov 20 19:23:36 2005
++++ src/Main/renderer.cxx Sun Nov 20 19:28:43 2005
+@@ -122,7 +122,7 @@
+ FGRenderer::FGRenderer()
+ {
+ #ifdef FG_JPEG_SERVER
+- jpgRenderFrame = FGRenderer::update;
++ jpgRenderFrame = &FGRenderer::update;
+ #endif
+ }
+
diff --git a/games/flightgear/files/patch-src_Network_ATC-Inputs.cxx b/games/flightgear/files/patch-src_Network_ATC-Inputs.cxx
new file mode 100644
index 000000000000..77117453f87f
--- /dev/null
+++ b/games/flightgear/files/patch-src_Network_ATC-Inputs.cxx
@@ -0,0 +1,15 @@
+--- src/Network/ATC-Inputs.cxx.orig Sun Nov 20 19:02:57 2005
++++ src/Network/ATC-Inputs.cxx Sun Nov 20 19:05:33 2005
+@@ -32,7 +32,11 @@
+ # include <sys/stat.h>
+ # include <fcntl.h>
+ # include <unistd.h>
+-# include <istream>
++# ifdef SG_HAVE_STD_INCLUDES
++# include <istream>
++# else
++# include <istream.h>
++# endif
+ #endif
+
+ #include <errno.h>
diff --git a/games/flightgear/files/patch-src_Network_ATC-Outputs.cxx b/games/flightgear/files/patch-src_Network_ATC-Outputs.cxx
new file mode 100644
index 000000000000..c7e213e9bdef
--- /dev/null
+++ b/games/flightgear/files/patch-src_Network_ATC-Outputs.cxx
@@ -0,0 +1,18 @@
+--- src/Network/ATC-Outputs.cxx.orig Sun Nov 20 19:14:22 2005
++++ src/Network/ATC-Outputs.cxx Sun Nov 20 19:14:47 2005
+@@ -32,7 +32,6 @@
+ # include <sys/stat.h>
+ # include <fcntl.h>
+ # include <unistd.h>
+-# include <ostream>
+ #endif
+
+ #include <errno.h>
+@@ -47,6 +46,7 @@
+
+ #include "ATC-Outputs.hxx"
+
++SG_USING_STD(ostream);
+ SG_USING_STD(string);
+
+