summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-03-26 08:50:04 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-03-26 08:50:04 +0000
commit75d7976029ceb57819af06480146bd107c9a5db4 (patch)
treec51dd064a48042f16961da84c88195cdfd5980af /games-action/teeworlds/files
parentBump (diff)
downloadgentoo-2-75d7976029ceb57819af06480146bd107c9a5db4.tar.gz
gentoo-2-75d7976029ceb57819af06480146bd107c9a5db4.tar.bz2
gentoo-2-75d7976029ceb57819af06480146bd107c9a5db4.zip
Fix build with gcc-4.6 Bug #374939
(Portage version: 2.1.10.51/cvs/Linux i686)
Diffstat (limited to 'games-action/teeworlds/files')
-rw-r--r--games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch b/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch
new file mode 100644
index 000000000000..06f9422a274e
--- /dev/null
+++ b/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch
@@ -0,0 +1,10 @@
+--- src/game/server/entity.hpp.old 2012-03-26 10:32:17.189461453 +0200
++++ src/game/server/entity.hpp 2012-03-26 10:32:52.176006440 +0200
+@@ -3,6 +3,7 @@
+
+ #include <new>
+ #include <base/vmath.hpp>
++#include <cstddef>
+
+ #define MACRO_ALLOC_HEAP() \
+ public: \