r6231 - in packages/trunk/btanks/debian: . patches
Barry deFreese
bddebian-guest at alioth.debian.org
Wed Mar 19 20:19:58 UTC 2008
Author: bddebian-guest
Date: 2008-03-19 20:19:58 +0000 (Wed, 19 Mar 2008)
New Revision: 6231
Added:
packages/trunk/btanks/debian/patches/btanks_gcc43.patch
Modified:
packages/trunk/btanks/debian/changelog
packages/trunk/btanks/debian/patches/series
Log:
[ Barry deFreese ]
* btanks_gcc43.patch - Build with gcc-4.3. (Closes: #470980).
Modified: packages/trunk/btanks/debian/changelog
===================================================================
--- packages/trunk/btanks/debian/changelog 2008-03-19 20:16:06 UTC (rev 6230)
+++ packages/trunk/btanks/debian/changelog 2008-03-19 20:19:58 UTC (rev 6231)
@@ -1,3 +1,10 @@
+btanks (0.7.5800-2) UNRELEASED; urgency=low
+
+ [ Barry deFreese ]
+ * btanks_gcc43.patch - Build with gcc-4.3. (Closes: #470980).
+
+ -- Barry deFreese <bddebian at comcast.net> Wed, 19 Mar 2008 16:19:25 -0400
+
btanks (0.7.5800-1) unstable; urgency=low
[ Barry deFreese ]
Added: packages/trunk/btanks/debian/patches/btanks_gcc43.patch
===================================================================
--- packages/trunk/btanks/debian/patches/btanks_gcc43.patch (rev 0)
+++ packages/trunk/btanks/debian/patches/btanks_gcc43.patch 2008-03-19 20:19:58 UTC (rev 6231)
@@ -0,0 +1,103 @@
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/mrt/udp_socket.cpp
++++ btanks-0.7.5800/mrt/udp_socket.cpp
+@@ -22,6 +22,7 @@
+ # endif
+ #endif
+
++#include <cstring>
+
+ using namespace mrt;
+
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/mrt/sys_socket.cpp
++++ btanks-0.7.5800/mrt/sys_socket.cpp
+@@ -27,6 +27,7 @@
+ # include <unistd.h>
+ #endif
+
++#include <cstring>
+
+ using namespace mrt;
+
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/mrt/lang.cpp
++++ btanks-0.7.5800/mrt/lang.cpp
+@@ -8,6 +8,9 @@
+ #include "lang.h"
+ #include "logger.h"
+
++#include <cstdlib>
++#include <cstring>
++
+ const std::string mrt::getLanguageCode() {
+ #ifdef WIN32
+ LANGID lang_id = GetUserDefaultLangID();
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/mrt/serializator.cpp
++++ btanks-0.7.5800/mrt/serializator.cpp
+@@ -31,6 +31,8 @@
+ #include <limits.h>
+ #include "exception.h"
+
++#include <cstring>
++
+ #ifdef WIN32
+ # ifndef uint32_t
+ # define uint32_t unsigned __int32
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/menu/menu_config.cpp
++++ btanks-0.7.5800/menu/menu_config.cpp
+@@ -24,6 +24,8 @@
+ #include "mrt/b64.h"
+ #include "config.h"
+
++#include <cstring>
++
+ IMPLEMENT_SINGLETON(MenuConfig, IMenuConfig);
+
+ void SlotConfig::serialize(mrt::Serializator &s) const {
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/src/i18n.cpp
++++ btanks-0.7.5800/src/i18n.cpp
+@@ -20,6 +20,8 @@
+ #include "mrt/exception.h"
+ #include <assert.h>
+
++#include <cstring>
++
+ IMPLEMENT_SINGLETON(I18n, II18n);
+
+ bool lessnocase::operator()(const std::string& s1, const std::string& s2) const {
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/src/var.cpp
++++ btanks-0.7.5800/src/var.cpp
+@@ -21,6 +21,8 @@
+ #include "mrt/serializator.h"
+ #include <assert.h>
+
++#include <cstdlib>
++
+ void Var::serialize(mrt::Serializator &s) const {
+ if (type.empty())
+ throw_ex(("cannot serialize empty variable"));
+only in patch2:
+unchanged:
+--- btanks-0.7.5800.orig/objects/trooper.cpp
++++ btanks-0.7.5800/objects/trooper.cpp
+@@ -24,6 +24,8 @@
+ #include "config.h"
+ #include "trooper.h"
+
++#include <cstring>
++
+ void Trooper::getImpassabilityPenalty(const float impassability, float &base, float &base_value, float &penalty) const {
+ if (impassability > 0.2f) {
+ base_value = 0.2f;
Modified: packages/trunk/btanks/debian/patches/series
===================================================================
--- packages/trunk/btanks/debian/patches/series 2008-03-19 20:16:06 UTC (rev 6230)
+++ packages/trunk/btanks/debian/patches/series 2008-03-19 20:19:58 UTC (rev 6231)
@@ -1 +1,2 @@
remove_default_optimizations.patch
+btanks_gcc43.patch
More information about the Pkg-games-commits
mailing list