aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-11-04 19:55:06 +0800
committerbarner <barner@FreeBSD.org>2005-11-04 19:55:06 +0800
commitb6b7150aa8ebf8ded082336c1b149d493dbe4c37 (patch)
tree1bae7b54dcfc1be0164df6035a4e18c40fb362db
parente0caea2c6c4eacf0e34dcbf66cf68ac401a8a97a (diff)
downloadfreebsd-ports-gnome-b6b7150aa8ebf8ded082336c1b149d493dbe4c37.tar.gz
freebsd-ports-gnome-b6b7150aa8ebf8ded082336c1b149d493dbe4c37.tar.zst
freebsd-ports-gnome-b6b7150aa8ebf8ded082336c1b149d493dbe4c37.zip
Fix build with GCC 3.x.
Reported by: Torin Michael <iwant4x4jeep@yandex.ru> PR: ports/88474
-rw-r--r--games/clanbomber/files/patch-clanbomber-Config.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/games/clanbomber/files/patch-clanbomber-Config.cpp b/games/clanbomber/files/patch-clanbomber-Config.cpp
new file mode 100644
index 000000000000..782d2bfb7f32
--- /dev/null
+++ b/games/clanbomber/files/patch-clanbomber-Config.cpp
@@ -0,0 +1,21 @@
+--- clanbomber/Config.cpp.orig Fri Nov 4 12:40:51 2005
++++ clanbomber/Config.cpp Fri Nov 4 12:48:30 2005
+@@ -16,15 +16,15 @@
+ ***************************************************************************/
+ // $Id: Config.cpp,v 1.5 2004/01/13 12:34:48 xmassx Exp $
+
++#include <fstream>
++#include <cstdio>
++
+ #include <ClanLib/Display/Input/input.h>
+
+ #include "ClanBomber.h"
+ #include "Config.h"
+
+ #include "Controller.h"
+-
+-#include <fstream>
+-#include <cstdio>
+
+ CL_String Config::filename = "clanbomber.cfg";
+